diff --git a/client/src/context.tsx b/client/src/context.tsx index 16bfe93..407a769 100644 --- a/client/src/context.tsx +++ b/client/src/context.tsx @@ -65,9 +65,9 @@ createEffect>((previous) => { }, name()); export const backendUrl = new URL( - "http://" + import.meta.env.VITE_DEV_BACKEND_HOST ?? window.location.host + "http://" + (import.meta.env.VITE_DEV_BACKEND_HOST ?? window.location.host) ); - +console.debug("Backend at", backendUrl); const socketUrl = new URL(backendUrl.href); socketUrl.protocol = "ws:";