Browse Source

Added proxy to backend API and typescript errors to browser overview

master
hak8or 2 years ago
parent
commit
bc8a603d4e
1 changed files with 10 additions and 1 deletions
  1. +10
    -1
      webpack.config.js

+ 10
- 1
webpack.config.js View File

@@ -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


Loading…
Cancel
Save