LiberTEM/LiberTEM

View on GitHub
client/src/setupProxy.js

Summary

Maintainability
A
0 mins
Test Coverage
/* eslint-disable */
const proxy = require('http-proxy-middleware');

module.exports = app => {
    app.use(proxy.createProxyMiddleware("/api", { target: "http://localhost:9000", ws: true }))
};