康凯
2021-12-16 0b53e87d9a938ba4fcf2fb913d0dedc5d9f57db6
修改发布时的配置文件
2 files modified
4 ■■■■ changed files
.env.production 2 ●●● patch | view | raw | blame | history
vue.config.js 2 ●●● patch | view | raw | blame | history
.env.production
@@ -2,5 +2,5 @@
ENV = 'production'
# base api
VUE_APP_BASE_API = '/'
VUE_APP_BASE_API = 'http://hsly.xingyao100.com'
vue.config.js
@@ -6,7 +6,7 @@
                target: 'http://hsly.xingyao100.com/',
                changeOrigin: true,
                pathRewrite: {
                    '^/api': '/'
                    '^/api': ''
                }
            }
        }