Commit f44f0d2453259c094e6711c9dd19beb711dcde50

Authored by yangzhi
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 38 },
39 39 proxy: {
40 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 43 // target:'http://localhost:8009',
44 44 changeOrigin: true,
45 45 pathRewrite: {
... ... @@ -47,7 +47,7 @@ module.exports = {
47 47 }
48 48 },
49 49 '/api': {
50   - target:'https://localhost:44399/',
  50 + target: 'https://localhost:44399/',
51 51  
52 52 // target: `http://admin.7-stars.com.cn/`, //后台服务地址
53 53 // target: 'http://localhost:8877',
... ...