Maybe a fix

This commit is contained in:
Henry Hiles 2022-02-10 12:09:21 -05:00
parent 6287122a1e
commit bdf0f20be5
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()
const socket = io("/", { 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",
},
})