@@ -50,12 +50,12 @@ module.exports = {
devServer: {
proxy: {
'/api': {
- target: 'http://localhost:80',
+ target: 'http://localhost:5000',
// ws: true,
changeOrigin: true,
- // pathRewrite:{
- // "^/geoserver":""
- // }
+ pathRewrite: {
+ "^/api": ""
+ }
}
},