Commit f9e2f0ae22f85177a984572f345f98cb3b51edb1

Authored by 郭伟龙
1 parent 241a43f7
Exists in charge

fix:关闭代理

Showing 2 changed files with 16 additions and 15 deletions   Show diff stats
@@ -77,21 +77,6 @@ @@ -77,21 +77,6 @@
77 "router" : { 77 "router" : {
78 "mode" : "hash", 78 "mode" : "hash",
79 "base" : "./" 79 "base" : "./"
80 - },  
81 - "devServer" : {  
82 - "port" : 8001,  
83 - "disableHostCheck" : true,  
84 - "proxy" : {  
85 - "/api" : {  
86 - "target" : "http://192.168.0.34:8001",  
87 - "changeOrigin" : true,  
88 - "secure" : true,  
89 - "pathRewrite" : {  
90 - "^/api" : ""  
91 - }  
92 - }  
93 - },  
94 - "https" : false  
95 } 80 }
96 } 81 }
97 } 82 }
@@ -14,3 +14,19 @@ @@ -14,3 +14,19 @@
14 // } 14 // }
15 // }, 15 // },
16 // } 16 // }
  17 +// manifest.json配置
  18 +// "devServer": {
  19 +// "port": 8001,
  20 +// "disableHostCheck": true,
  21 +// "proxy": {
  22 +// "/api": {
  23 +// "target": "http://192.168.0.34:8001",
  24 +// "changeOrigin": true,
  25 +// "secure": true,
  26 +// "pathRewrite": {
  27 +// "^/api": ""
  28 +// }
  29 +// }
  30 +// },
  31 +// "https": false
  32 +// }