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 = {
|
const tavern = {
|
||||||
socket: socket = new WebSocket('ws://localhost:3001/ws'),
|
socket: socket = new WebSocket('ws:/' + window.location.host + '/ws'),
|
||||||
connected: false,
|
connected: false,
|
||||||
loggedIn: false,
|
loggedIn: false,
|
||||||
call: (f, ...args) => {
|
call: (f, ...args) => {
|
||||||
|
|
Loading…
Reference in a new issue