Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

fix(app): wrong api url format for events

dextmorgndc52a624efdc
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) => {