0
0
Fork 0

Update validation check for permitted hosts

This commit is contained in:
Oliver-Akins 2021-01-01 16:07:06 -07:00
parent a86f02c1cf
commit e54adf03c3

View file

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