Commit 4d80fc60 authored by José Gato Luis's avatar José Gato Luis
Browse files

new protocol config

parent 2ff0d78e
......@@ -44,7 +44,7 @@ var format = require('util').format;
var app = express();
var mongoClient = require('mongodb').MongoClient;
if ((config.app.SSL != undefined) && (config.app.SSL == true)) {
if ((config.app.protocol != undefined) && (config.app.protocol == 'https')) {
var fs = require('fs');
var server_options = {
key: fs.readFileSync(config.app.key),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment