summaryrefslogtreecommitdiff
path: root/frontend/src/setupProxy.js
blob: 88831e6eefb00aa5943572e7e6e462eff6c0c448 (plain)
1
2
3
4
5
6
7
8
const proxy = require('http-proxy-middleware');

module.exports = function(app) {
  app.use(proxy('/seven-wonders-websocket', {
    "target": "http://localhost:8080",
    "ws": true
  }));
};
bgstack15