Aggiustate cose

This commit is contained in:
2022-03-13 20:53:12 +01:00
parent 98b491ce25
commit 6a5b268eaa
+1 -1
View File
@@ -11,7 +11,7 @@ export async function getLoggedUser() {
}
export function createRoomEventStream(roomId) {
return new EventSource(`/api/room_events?id=${roomId}`)
return new EventSource(`${import.meta.env.BASE_URL}api/room_events?id=${roomId}`)
}
export const Database = {