fix sse
Gitea Actions Demo / Deploy (push) Successful in 23s

This commit is contained in:
vadim committed 2026-09-24 16:28:29 +03:00
1 parent 4ae5e8f830
commit 63f732c8a2
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ interface IssueSseEvent {
}
const { data } = useEventSource<string[], IssueSseEvent>(
'http://localhost:3333/api/issues/events',
`${window.location.origin}/api/issues/events`,
['issue.created', 'issue.updated', 'issue.deleted'],
{
serializer: { read: (v) => (v ? JSON.parse(v) : null) },