This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
DumbYT
/
FrontEnd
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Added proxy to backend API and typescript errors to browser overview
master
hak8or
2 years ago
parent
494b9dae2b
commit
bc8a603d4e
1 changed files
with
10 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save