mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-20 04:38:55 +00:00
jitsu: configure for xhr-polling, seems to be the only thing that works
This commit is contained in:
parent
8903fc0e77
commit
fd2c3d47cd
2 changed files with 8 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// Generated by CoffeeScript 1.3.3
|
||||
var MongoStore, ONE_YEAR, app, derby, exports, express, expressApp, gzippo, http, path, publicPath, root, server, serverError;
|
||||
var MongoStore, ONE_YEAR, app, derby, exports, express, expressApp, gzippo, http, path, publicPath, racer, root, server, serverError;
|
||||
|
||||
http = require('http');
|
||||
|
||||
|
|
@ -17,6 +17,10 @@ app = require('../app');
|
|||
|
||||
serverError = require('./serverError');
|
||||
|
||||
racer = require('derby/node_modules/racer');
|
||||
|
||||
racer.set('transports', ['xhr-polling']);
|
||||
|
||||
ONE_YEAR = 1000 * 60 * 60 * 24 * 365;
|
||||
|
||||
root = path.dirname(path.dirname(__dirname));
|
||||
|
|
|
|||
|
|
@ -6,6 +6,9 @@ MongoStore = require('connect-mongo')(express)
|
|||
derby = require 'derby'
|
||||
app = require '../app'
|
||||
serverError = require './serverError'
|
||||
racer = require 'derby/node_modules/racer'
|
||||
|
||||
racer.set('transports', ['xhr-polling'])
|
||||
|
||||
|
||||
## SERVER CONFIGURATION ##
|
||||
|
|
|
|||
Loading…
Reference in a new issue