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

bug fix

parent 6c416e48
...@@ -47,35 +47,36 @@ ...@@ -47,35 +47,36 @@
"mode": "history", "mode": "history",
"base": "/uni" "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": { "optimization": {
"treeShaking": { "treeShaking": {
"enable": true "enable": true
} }
}, },
"h5" : { "h5": {
"title" : "谛宝多多商城", "title": "谛宝多多商城",
"router" : { "router": {
"mode" : "history", "mode": "history",
"base" : "/uni" "base": "/uni"
}, },
"publicPath" : "https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/", "publicPath": "https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/",
"optimization" : { "optimization": {
"treeShaking" : { "treeShaking": {
"enable" : true "enable": true
} }
}, },
"devServer": { "devServer": {
"port": 8080, "port": 8080,
"disableHostCheck": true, "disableHostCheck": true,
"proxy": { "proxy": {
"/uni/api": { "/uni/api": {
"target": "http://192.168.124.33:6564/", "target": "http://192.168.124.33:6564/",
"changeOrigin": true, "changeOrigin": true,
"secure": false, "secure": false,
"pathRewrite":{"^/uni/api":"api"} "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