wang_xy 2 years ago
parent
commit
161db33476
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vue.config.js

+ 2 - 2
vue.config.js

@@ -52,9 +52,9 @@ module.exports = {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        // target: `http://127.0.0.1:3031`,
+        target: `http://127.0.0.1:3031`,
         // target: `http://192.168.2.118:3031`,
-        target: `http://121.36.228.66:3031`,
+        // target: `http://121.36.228.66:3031`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''