add streaming
This commit is contained in:
parent
1bd7e4d486
commit
e4a0028f5d
4 changed files with 50 additions and 41 deletions
|
@ -12,7 +12,7 @@ if (config.sentry_dsn) {
|
|||
|
||||
const app = express();
|
||||
expressWs(app, null, { perMessageDeflate: false });
|
||||
app.ws('/api/ws', require('./routes/ws')); //want to move this into routes/index.js but it's not working...
|
||||
app.ws('/api/ws', require('./routes/ws'));
|
||||
routes(app);
|
||||
|
||||
app.use(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue