aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-rw-r--r--modern/src/setupProxy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/setupProxy.js b/modern/src/setupProxy.js
index 3ab7643e..cd6a2faa 100644
--- a/modern/src/setupProxy.js
+++ b/modern/src/setupProxy.js
@@ -2,7 +2,7 @@
const proxy = require('http-proxy-middleware');
-export default (app) => {
+module.exports = (app) => {
app.use(proxy('/api/socket', { target: `ws://${process.env.REACT_APP_URL_NAME}`, ws: true }));
app.use(proxy('/api', { target: `http://${process.env.REACT_APP_URL_NAME}` }));
};