diff --git a/flowsint-app/src/hooks/use-events.ts b/flowsint-app/src/hooks/use-events.ts index 2cba3b57..486afd4b 100644 --- a/flowsint-app/src/hooks/use-events.ts +++ b/flowsint-app/src/hooks/use-events.ts @@ -30,7 +30,7 @@ export function useEvents(sketch_id: string | undefined) { if (!sketch_id) return const eventSource = new EventSource( - `${API_URL}api/events/sketch/${sketch_id}/stream` + `${API_URL}/api/events/sketch/${sketch_id}/stream` ) eventSource.onmessage = (e) => {