sse does not work :(

This commit is contained in:
2024-06-01 19:00:50 +02:00
parent 3813e11258
commit 1d8fc533da
5 changed files with 56 additions and 8 deletions

View File

@@ -3,7 +3,8 @@
const apiUrl = '/api/v1/';
//SSE URL
export const sseUrl = 'http://149.222.51.77/da4c59b9-43c4-4144-ae39-742c6ba3ad50/live';
// export const sseUrl = 'http://149.222.51.77/da4c59b9-43c4-4144-ae39-742c6ba3ad50/live';
export const sseUrl = '/live';
export function fetchData(url) {
const uri = apiUrl + url;