Smaller error on startup in localhost mode

This commit is contained in:
Kasper Rynning-Tønnesen
2017-11-10 16:51:01 +01:00
parent dc7a347802
commit 15b6c2788f

View File

@@ -49,7 +49,6 @@ try{
}
catch(err){
console.log("Starting without https (probably on localhost)");
if(err.errno != 34)console.log(err);
var cors_proxy = require('cors-anywhere');
cors_proxy.createServer({
requireHeader: ['origin', 'x-requested-with'],