diff --git a/frontend/src/pages/VotingPage.jsx b/frontend/src/pages/VotingPage.jsx index 9338d8c..9122f52 100644 --- a/frontend/src/pages/VotingPage.jsx +++ b/frontend/src/pages/VotingPage.jsx @@ -27,7 +27,7 @@ function VotingPage() { const [socket, setSocket] = useState(null); useEffect(() => { - const s = io("http://localhost:3000"); + const s = io("https://livepoll-anjx.onrender.com"); setSocket(s); s.on("connect", () => {