wuxiang 1 년 전
부모
커밋
61e9db250b
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      vue.config.js

+ 4 - 4
vue.config.js

@@ -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": ""
+                }
             }
         }
     },