Commit f44f0d2453259c094e6711c9dd19beb711dcde50
1 parent
cf176b8f
vue.config.js配置修改
Showing
1 changed file
with
3 additions
and
3 deletions
vue.config.js
| @@ -38,8 +38,8 @@ module.exports = { | @@ -38,8 +38,8 @@ module.exports = { | ||
| 38 | }, | 38 | }, |
| 39 | proxy: { | 39 | proxy: { |
| 40 | '/development': { | 40 | '/development': { |
| 41 | - // target: `http://admin.7-stars.com.cn/`, //后台服务地址 | ||
| 42 | - target:'https://localhost:44399/', | 41 | + target: `http://admin.7-stars.com.cn`, //后台服务地址 |
| 42 | + // target:'https://localhost:44399/', | ||
| 43 | // target:'http://localhost:8009', | 43 | // target:'http://localhost:8009', |
| 44 | changeOrigin: true, | 44 | changeOrigin: true, |
| 45 | pathRewrite: { | 45 | pathRewrite: { |
| @@ -47,7 +47,7 @@ module.exports = { | @@ -47,7 +47,7 @@ module.exports = { | ||
| 47 | } | 47 | } |
| 48 | }, | 48 | }, |
| 49 | '/api': { | 49 | '/api': { |
| 50 | - target:'https://localhost:44399/', | 50 | + target: 'https://localhost:44399/', |
| 51 | 51 | ||
| 52 | // target: `http://admin.7-stars.com.cn/`, //后台服务地址 | 52 | // target: `http://admin.7-stars.com.cn/`, //后台服务地址 |
| 53 | // target: 'http://localhost:8877', | 53 | // target: 'http://localhost:8877', |