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