Added proxy to backend API and typescript errors to browser overview
This commit is contained in:
父節點
494b9dae2b
當前提交
bc8a603d4e
|
@ -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
|
||||
|
|
載入中…
新增問題並參考