Fixato un ultimo link rotto

main
Antonio De Lucreziis 4 years ago
parent 9a6a490524
commit ec4d225c01

@ -16,7 +16,7 @@ const elRoomGrid = document.querySelector('.room-grid')
async function logout() {
await fetch(`${import.meta.env.BASE_URL}api/logout`, { method: 'POST' })
location.href = '/'
location.href = `${import.meta.env.BASE_URL}`
}
async function main() {

Loading…
Cancel
Save