summaryrefslogtreecommitdiff
path: root/frontend/package.json
diff options
context:
space:
mode:
authorVictor Chabbert <chabbertvi@eisti.eu>2017-05-28 18:32:47 +0200
committerVictor Chabbert <chabbertvi@eisti.eu>2017-05-28 18:32:47 +0200
commit0f27f6d69d78a0f824a586063f4ea33fd89d36d9 (patch)
tree36c96ea574711ebb413414bcc3f7c9d90fa211eb /frontend/package.json
parentChange print width to 120, again (diff)
downloadseven-wonders-0f27f6d69d78a0f824a586063f4ea33fd89d36d9.tar.gz
seven-wonders-0f27f6d69d78a0f824a586063f4ea33fd89d36d9.tar.bz2
seven-wonders-0f27f6d69d78a0f824a586063f4ea33fd89d36d9.zip
Fix proxy not working since CRA upgrade
Diffstat (limited to 'frontend/package.json')
-rw-r--r--frontend/package.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/frontend/package.json b/frontend/package.json
index 92c74d9d..7278ded0 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -38,5 +38,10 @@
"flow": "flow",
"postinstall": "flow-typed install"
},
- "proxy": "http://localhost:8080"
+ "proxy": {
+ "/*": {
+ "target": "http://localhost:8080",
+ "ws": true
+ }
+ }
}
bgstack15