Althars123 4 năm trước cách đây
mục cha
commit
242185ee89
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      vue.config.js

+ 1 - 1
vue.config.js

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