tanyanfei 4 years ago
commit
dca059231f
1 changed files with 11 additions and 0 deletions
  1. 11 0
      vue.config.js

+ 11 - 0
vue.config.js

@@ -0,0 +1,11 @@
+module.exports={
+    devServer:{
+        proxy:{
+            '/api':{
+                target:'https://www.scxjc.club',
+                changeOrigin: true,
+            }
+        }
+    },
+    publicPath:'/'
+}