diff --git a/frontend/.env.local b/frontend/.env.local index c61e201..e404b21 100644 --- a/frontend/.env.local +++ b/frontend/.env.local @@ -1,7 +1,4 @@ -VITE_API_BASE_URL=https://www.your-part.de +VITE_API_BASE_URL=http://localhost:3001 VITE_TINYMCE_API_KEY=xjqnfymt2wd5q95onkkwgblzexams6l6naqjs01x72ftzryg -VITE_DAEMON_SOCKET=wss://www.your-part.de:4551 -VITE_CHAT_WS_URL=wss://www.your-part.de:1235 - -VITE_DAEMON_SOCKET=wss://www.your-part.de/ws -VITE_CHAT_WS_URL=wss://www.your-part.de:1235 +VITE_DAEMON_SOCKET=ws://localhost:4551 +VITE_CHAT_WS_URL=ws://localhost.de:1235 diff --git a/frontend/src/store/index.js b/frontend/src/store/index.js index e793c40..eac988f 100644 --- a/frontend/src/store/index.js +++ b/frontend/src/store/index.js @@ -88,7 +88,7 @@ const store = createStore({ console.log('🔌 Initializing Socket.io connection to:', import.meta.env.VITE_API_BASE_URL); const socket = io(import.meta.env.VITE_API_BASE_URL, { secure: true, - transports: ['websocket', 'polling'] + transports: ['polling'] }); socket.on('connect', () => {