From 6287122a1ef6e4c29a12e296d2c6d1ab855d3b4d Mon Sep 17 00:00:00 2001 From: Henry Hiles Date: Thu, 10 Feb 2022 12:07:50 -0500 Subject: [PATCH] Possible fix again --- public/script.js | 2 +- server.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/public/script.js b/public/script.js index 0f4656f..b7e2e40 100644 --- a/public/script.js +++ b/public/script.js @@ -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("https://chat.henryhiles.com", { path: "/foo" }) +const socket = io() const messageButton = document.querySelector("#send") const menuButton = document.querySelector("#menu") const nameButton = document.querySelector("#name") diff --git a/server.js b/server.js index a72450c..94447a2 100644 --- a/server.js +++ b/server.js @@ -8,7 +8,6 @@ const io = require("socket.io")(server, { "http://192.168.1.226:3000", "https://chat.henryhiles.com", ], - path: "/foo", }, })