0
0
Fork 0

Update loading the permitted hosts in the websocket server

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

View file

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