Browse Source

1、跨域修改

LST 1 year ago
parent
commit
a01f9e0d15
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vue.config.js

+ 1 - 1
vue.config.js

@@ -35,7 +35,7 @@ module.exports = {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        target: `http://localhost:8080`,
+        target: `http://10.204.37.141:9090`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''