mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-16 11:11:43 +00:00
try racer.io.set('transports') instead of racer.set('transports')
This commit is contained in:
parent
56570351af
commit
55ceb9d40b
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ serverError = require('./serverError');
|
|||
|
||||
racer = require('derby/node_modules/racer');
|
||||
|
||||
racer.set('transports', ['xhr-polling']);
|
||||
racer.io.set('transports', ['xhr-polling']);
|
||||
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
racer.use(racer.logPlugin);
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ serverError = require './serverError'
|
|||
## RACER CONFIGURATION ##
|
||||
|
||||
racer = require 'derby/node_modules/racer'
|
||||
racer.set('transports', ['xhr-polling'])
|
||||
racer.io.set('transports', ['xhr-polling'])
|
||||
unless process.env.NODE_ENV == 'production'
|
||||
racer.use(racer.logPlugin)
|
||||
derby.use(derby.logPlugin)
|
||||
|
|
|
|||
Loading…
Reference in a new issue