update websocket url passing through server

This commit is contained in:
Fran Jurmanović
2025-09-18 23:14:45 +02:00
parent fe6a36f3dc
commit 3ba83ad538
3 changed files with 8 additions and 5 deletions

View File

@@ -20,7 +20,9 @@ export default function RootLayout({
<html lang="en">
<body className="bg-gray-900 text-white antialiased">
<QueryProvider>
<WebSocketProvider>
<WebSocketProvider
websocketURL={process.env.NEXT_PUBLIC_WEBSOCKET_URL || 'ws://localhost:3000/ws'}
>
<SteamCMDProvider>
<ServerCreationPopupProvider>
{children}