Maybe a fix

This commit is contained in:
Henry Hiles 2022-02-10 11:54:59 -05:00
parent e6dea145d4
commit 53d1ac252b
2 changed files with 2 additions and 1 deletions

View file

@ -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")

View file

@ -8,6 +8,7 @@ const io = require("socket.io")(server, {
"http://192.168.1.226:3000",
"https://chat.henryhiles.com",
],
path: "/foo",
},
})