diff options
author | Victor Chabbert <chabbertvi@eisti.eu> | 2017-05-28 18:32:47 +0200 |
---|---|---|
committer | Victor Chabbert <chabbertvi@eisti.eu> | 2017-05-28 18:32:47 +0200 |
commit | 0f27f6d69d78a0f824a586063f4ea33fd89d36d9 (patch) | |
tree | 36c96ea574711ebb413414bcc3f7c9d90fa211eb /frontend/package.json | |
parent | Change print width to 120, again (diff) | |
download | seven-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.json | 7 |
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 + } + } } |