mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Making changes for cloudflare
This commit is contained in:
@@ -20,7 +20,7 @@ var server;
|
|||||||
}
|
}
|
||||||
catch(err){*/
|
catch(err){*/
|
||||||
console.log("Starting without https (probably on localhost)");
|
console.log("Starting without https (probably on localhost)");
|
||||||
if(err["errno"] != 34)console.log(err);
|
//if(err["errno"] != 34)console.log(err);
|
||||||
|
|
||||||
var http = require('http');
|
var http = require('http');
|
||||||
server = http.createServer(handler);
|
server = http.createServer(handler);
|
||||||
|
|||||||
Reference in New Issue
Block a user