Added proxy to backend API and typescript errors to browser overview

This commit is contained in:
hak8or 2018-03-25 04:51:49 -04:00
父節點 494b9dae2b
當前提交 bc8a603d4e
共有 1 個檔案被更改,包括 10 行新增1 行删除

查看文件

@ -55,8 +55,17 @@ module.exports = {
}
},
devServer: {
overlay: {
warnings: true,
errors: true
},
historyApiFallback: true,
noInfo: true
proxy: {
"/api": {
target: "https://dumbyt.hak8or.com",
changeOrigin: true
}
}
},
performance: {
hints: false