diff --git a/bin/lamassu-server b/bin/lamassu-server index 12f6aebe..86bc13d0 100755 --- a/bin/lamassu-server +++ b/bin/lamassu-server @@ -1,4 +1,5 @@ #!/usr/bin/env node +var fs = require('fs'); var createServer = require('../lib/app.js'); var argv = require('optimist').argv; diff --git a/lib/app.js b/lib/app.js index ad6dc169..24a8fff5 100755 --- a/lib/app.js +++ b/lib/app.js @@ -54,7 +54,7 @@ module.exports = function (options) { honorCipherOrder: true }; - server = https.createServer(options, app); + server = https.createServer(serverOptions, app); } config.load(function(err, conf) {