Browse Source

Check httpSafeOrigin in config variable

master
Jason Heard 10 months ago
parent
commit
9b3013278b
1 changed files with 1 additions and 1 deletions
  1. 2
      server.js

2
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;
}

Loading…
Cancel
Save