Initial commit

This commit is contained in:
2025-05-06 12:41:50 +00:00
commit aec7504e67
33 changed files with 15916 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
export function subscribe(endpoint: string) {
const config = useRuntimeConfig();
const evtSource = new EventSource(config.public.endpoint + endpoint, {
withCredentials: true,
});
return evtSource;
}