Update validation check for permitted hosts
This commit is contained in:
parent
a86f02c1cf
commit
e54adf03c3
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ export class Validate {
|
||||||
valid = false;
|
valid = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
if (!conf.webserver.hostname) {
|
if (!conf.websocket.permitted_hosts) {
|
||||||
log.error(`Can't have a blank or null webserver.hostname`);
|
log.error(`Can't have a blank or null webserver.hostname`);
|
||||||
valid = false;
|
valid = false;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue