v1.18.x
Baris Soner Usakli 11 years ago
parent 981719dee1
commit 0edb895c2c

@ -32,7 +32,7 @@ var path = require('path'),
if(nconf.get('ssl')) { if(nconf.get('ssl')) {
server = require('https').createServer({ server = require('https').createServer({
key: fs.readFileSync(nconf.get('ssl').key), key: fs.readFileSync(nconf.get('ssl').key),
cert: fs.readFileSync(nconf.get('ssl').cert) cert: fs.readFileSync(nconf.get('ssl').cert)
}, WebServer); }, WebServer);
} else { } else {
server = require('http').createServer(WebServer); server = require('http').createServer(WebServer);

Loading…
Cancel
Save