fix: use port 3000 consistently for WebSocket URL in server-side rendering

Co-authored-by: ajnart <49837342+ajnart@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]andajnart committed 2026-02-28 09:14:45 +00:00
1 parent 8994bdedc3
commit 835ecd0d28
1 file changed
+1 -1
@@ -33,7 +33,7 @@ const getWebSocketProtocol = () => {
const constructWebsocketUrl = () => {
if (typeof window === "undefined") {
return `${getWebSocketProtocol()}://localhost:${env.NODE_ENV === "development" ? "3000" : "3001"}/websockets`;
return `${getWebSocketProtocol()}://localhost:3000/websockets`;
}
if (env.NODE_ENV === "development") {