diff options
Diffstat (limited to 'frontend/src/setupProxy.js')
-rw-r--r-- | frontend/src/setupProxy.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/frontend/src/setupProxy.js b/frontend/src/setupProxy.js index f2e1c39..fb60b75 100644 --- a/frontend/src/setupProxy.js +++ b/frontend/src/setupProxy.js @@ -15,10 +15,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -const { createProxyMiddleware } = require('http-proxy-middleware'); +const {createProxyMiddleware} = require("http-proxy-middleware"); -module.exports = function(app) { - app.use(createProxyMiddleware("/api", { target: "http://localhost:3333" })); - app.use(createProxyMiddleware("/setup", { target: "http://localhost:3333" })); - app.use(createProxyMiddleware("/ws", { target: "http://localhost:3333", ws: true })); +module.exports = function (app) { + app.use(createProxyMiddleware("/api", {target: "http://localhost:3333"})); + app.use(createProxyMiddleware("/setup", {target: "http://localhost:3333"})); + app.use(createProxyMiddleware("/ws", {target: "http://localhost:3333", ws: true})); }; |