Aggiustate cose

main
Antonio De Lucreziis 4 years ago
parent 98b491ce25
commit 6a5b268eaa

@ -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 = {

Loading…
Cancel
Save