Update loading the permitted hosts in the websocket server
This commit is contained in:
parent
e54adf03c3
commit
00e78b60c0
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ export default async (conf: config) => {
|
||||||
|
|
||||||
io.listen(conf.websocket.port, {
|
io.listen(conf.websocket.port, {
|
||||||
cors: {
|
cors: {
|
||||||
origin: conf.webserver.permitted_hosts,
|
origin: conf.websocket.permitted_hosts,
|
||||||
credentials: true,
|
credentials: true,
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue