proxy /__ in dev environment

This commit is contained in:
2018-07-13 14:09:19 +03:00
parent e5a7f0a50c
commit 4734bf1db7

View File

@@ -26,7 +26,7 @@
"eject": "react-scripts eject" "eject": "react-scripts eject"
}, },
"proxy": { "proxy": {
"/api": { "/__": {
"target": "http://localhost:4000", "target": "http://localhost:4000",
"ws": true "ws": true
} }