Browse Source

修改config

huituanxueqian 1 year ago
parent
commit
98ecb6ccfb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      ruoyi-ui/vue.config.js

+ 2 - 1
ruoyi-ui/vue.config.js

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