mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
jitsu: configure for xhr-polling, seems to be the only thing that works
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user