socket path is now relative to domain (but not to directory in domain)
This commit is contained in:
parent
1beeb9fdbc
commit
ac813064fd
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
const tavern = {
|
||||
socket: socket = new WebSocket('ws://localhost:3001/ws'),
|
||||
socket: socket = new WebSocket('ws:/' + window.location.host + '/ws'),
|
||||
connected: false,
|
||||
loggedIn: false,
|
||||
call: (f, ...args) => {
|
||||
|
|
Loading…
Reference in a new issue