|
@@ -36,7 +36,8 @@ module.exports = {
|
|
|
proxy: {
|
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
|
[process.env.VUE_APP_BASE_API]: {
|
|
|
- target: `http://172.16.100.107:8080/ruoyi-admin`,
|
|
|
+ // target: `http://172.16.100.107:8080/ruoyi-admin`, //生产
|
|
|
+ target: `http://172.16.100.107:8000/ruoyi-admin`, //测试
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
['^' + process.env.VUE_APP_BASE_API]: ''
|