Fix Webpack development proxy configuration

This commit is contained in:
D. Berge
2020-09-06 14:54:03 +02:00
parent 906dcc6a7e
commit 513e6d6bc5

View File

@@ -6,6 +6,9 @@ module.exports = {
proxy: {
"^/api(/|$)": {
target: "http://localhost:3000",
},
"^/ws(/|$)": {
target: "http://localhost:3000",
ws: true
}
}