|
|
@ -4,7 +4,7 @@ var pathmodule = require('path'); |
|
|
|
var app = require('express')(); |
|
|
|
var http = require('http').Server(app); |
|
|
|
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, { |
|
|
|
// pingTimeout: 30000,
|
|
|
|
// allowUpgrades: false,
|
|
|
|