Commit 7ed74ba2 authored by 王建威's avatar 王建威

bug fix

parent 6c416e48
......@@ -47,35 +47,36 @@
"mode": "history",
"base": "/uni"
},
"publicPath": "https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/test/1.0.0/",
"publicPath": "https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/mirror/1.0.0/",
"optimization": {
"treeShaking": {
"enable": true
}
},
"h5" : {
"title" : "谛宝多多商城",
"router" : {
"mode" : "history",
"base" : "/uni"
},
"publicPath" : "https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/",
"optimization" : {
"treeShaking" : {
"enable" : true
}
},
"devServer": {
"port": 8080,
"disableHostCheck": true,
"proxy": {
"/uni/api": {
"target": "http://192.168.124.33:6564/",
"changeOrigin": true,
"secure": false,
"pathRewrite":{"^/uni/api":"api"}
}
"h5": {
"title": "谛宝多多商城",
"router": {
"mode": "history",
"base": "/uni"
},
"publicPath": "https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/",
"optimization": {
"treeShaking": {
"enable": true
}
},
"devServer": {
"port": 8080,
"disableHostCheck": true,
"proxy": {
"/uni/api": {
"target": "http://192.168.124.33:6564/",
"changeOrigin": true,
"secure": false,
"pathRewrite": {
"^/uni/api": "api"
}
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment