Fix connection

This commit is contained in:
Orionis312050 committed 2026-04-16 18:23:16 +02:00
1 parent 4ad665cac0
commit b8a847c210
12 files changed
+56 -18

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ export default function LogTerminal({ service, initialLogs = [] }: {
useEffect(() => {
if (!socketRef.current) {
socketRef.current = io('http://localhost:3001', {
socketRef.current = io(`${import.meta.env.VITE_API_URL || 'http://localhost:3001'}`, {
withCredentials: true
});
}