mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-10 01:15:06 +02:00
Add base path to socket.io connections on client and server
This commit is contained in:
parent
42616b59de
commit
2d7b63b4cf
2 changed files with 4 additions and 2 deletions
|
@ -103,7 +103,8 @@ class SocketAuthority {
|
|||
cors: {
|
||||
origin: '*',
|
||||
methods: ['GET', 'POST']
|
||||
}
|
||||
},
|
||||
path: `${global.RouterBasePath}/socket.io`
|
||||
})
|
||||
|
||||
this.io.on('connection', (socket) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue