mirror of
https://github.com/reconurge/flowsint.git
synced 2026-07-21 12:50:12 -05:00
fix(app): wrong api url format for events
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user