From ec4d225c017a6f7a10db3e47515e41c23fe93695 Mon Sep 17 00:00:00 2001 From: Antonio De Lucreziis Date: Mon, 14 Mar 2022 13:14:09 +0100 Subject: [PATCH] Fixato un ultimo link rotto --- client/src/pages/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/pages/index.js b/client/src/pages/index.js index d474b74..dc34ac4 100644 --- a/client/src/pages/index.js +++ b/client/src/pages/index.js @@ -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() {