6aa96244 by xiaomiao
2 parents 84ad4d30 2f75ba5d
......@@ -60,7 +60,7 @@ Object.keys(filters).forEach(key => {
})
Vue.config.productionTip = false
axios.get("./config.json")
axios.get("/bdcdj/config.json")
.then((res) => {
Vue.prototype.BASE_API = res.data
localStorage.setItem('ApiUrl', JSON.stringify(res.data));
......
......@@ -86,7 +86,6 @@ module.exports = {
])
// when there are many pages, it will cause too many meaningscss requests
config.plugins.delete('prefetch')
config.module
.rule('svg')
.exclude.add(resolve('src/image/icons'))
......