From e54adf03c3a1307bdc06f94762f89ddd47ff12ca Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Fri, 1 Jan 2021 16:07:06 -0700 Subject: [PATCH] Update validation check for permitted hosts --- server/src/utils/validate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/utils/validate.ts b/server/src/utils/validate.ts index ed6305e..467d5cb 100644 --- a/server/src/utils/validate.ts +++ b/server/src/utils/validate.ts @@ -34,7 +34,7 @@ export class Validate { valid = false; }; }; - if (!conf.webserver.hostname) { + if (!conf.websocket.permitted_hosts) { log.error(`Can't have a blank or null webserver.hostname`); valid = false; };