diff --git a/server.js b/server.js index 7b0e93687..9b82d7c3c 100644 --- a/server.js +++ b/server.js @@ -55,7 +55,7 @@ if (process.env.PACKAGE) { config.httpPort = 3000; } - if (typeof(httpSafeOrigin) !== 'string') { + if (typeof(config.httpSafeOrigin) !== 'string') { if (typeof(config.httpSafePort) !== 'number') { config.httpSafePort = config.httpPort + 1; }