Maybe a fix
This commit is contained in:
parent
e6dea145d4
commit
53d1ac252b
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
import moment from "https://jspm.dev/moment"
|
||||
import { io } from "https://cdn.socket.io/4.3.2/socket.io.esm.min.js"
|
||||
const socket = io("/socket")
|
||||
const socket = io("https://chat.henryhiles.com", { path: "/foo" })
|
||||
const messageButton = document.querySelector("#send")
|
||||
const menuButton = document.querySelector("#menu")
|
||||
const nameButton = document.querySelector("#name")
|
||||
|
|
|
@ -8,6 +8,7 @@ const io = require("socket.io")(server, {
|
|||
"http://192.168.1.226:3000",
|
||||
"https://chat.henryhiles.com",
|
||||
],
|
||||
path: "/foo",
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Reference in a new issue