mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 15:38:59 +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
|
// 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');
|
http = require('http');
|
||||||
|
|
||||||
|
|
@ -17,6 +17,10 @@ app = require('../app');
|
||||||
|
|
||||||
serverError = require('./serverError');
|
serverError = require('./serverError');
|
||||||
|
|
||||||
|
racer = require('derby/node_modules/racer');
|
||||||
|
|
||||||
|
racer.set('transports', ['xhr-polling']);
|
||||||
|
|
||||||
ONE_YEAR = 1000 * 60 * 60 * 24 * 365;
|
ONE_YEAR = 1000 * 60 * 60 * 24 * 365;
|
||||||
|
|
||||||
root = path.dirname(path.dirname(__dirname));
|
root = path.dirname(path.dirname(__dirname));
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,9 @@ MongoStore = require('connect-mongo')(express)
|
||||||
derby = require 'derby'
|
derby = require 'derby'
|
||||||
app = require '../app'
|
app = require '../app'
|
||||||
serverError = require './serverError'
|
serverError = require './serverError'
|
||||||
|
racer = require 'derby/node_modules/racer'
|
||||||
|
|
||||||
|
racer.set('transports', ['xhr-polling'])
|
||||||
|
|
||||||
|
|
||||||
## SERVER CONFIGURATION ##
|
## SERVER CONFIGURATION ##
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue