Check httpSafeOrigin in config variable

This commit is contained in:
Jason Heard 2020-03-10 14:21:23 -06:00
parent 6b657c47ce
commit 9b3013278b
1 changed files with 1 additions and 1 deletions

View File

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