Browse Source

conf

master
zeus 4 years ago
parent
commit
5b02c35562
  1. 2
      swarmlab-app/src/run/app.js

2
swarmlab-app/src/run/app.js

@ -4,7 +4,7 @@ var pathmodule = require('path');
var app = require('express')(); var app = require('express')();
var http = require('http').Server(app); var http = require('http').Server(app);
var https = require('https'); var https = require('https');
var CONFIG = require('myconfig/runconfig.js'); var CONFIG = require( pathmodule.resolve( __dirname, "myconfig/runconfig.js" ) );
const io = require("socket.io")(http, { const io = require("socket.io")(http, {
// pingTimeout: 30000, // pingTimeout: 30000,
// allowUpgrades: false, // allowUpgrades: false,

Loading…
Cancel
Save