mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-31 15:19:42 +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
|
@ -357,7 +357,8 @@ export default {
|
|||
teardown: false,
|
||||
transports: ['websocket'],
|
||||
upgrade: false,
|
||||
reconnection: true
|
||||
reconnection: true,
|
||||
path: `${this.$config.routerBasePath}/socket.io`
|
||||
})
|
||||
this.$root.socket = this.socket
|
||||
console.log('Socket initialized')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue