Chore : attempt to reduce loading times
release-tag / release-image (push) Successful in 51s

This commit is contained in:
2024-07-31 10:20:48 +02:00
parent cfbaeca52b
commit 0669619543
9 changed files with 569 additions and 593 deletions
+5 -4
View File
@@ -51,11 +51,12 @@ export default defineNuxtRouteMiddleware(async (to, from) => {
// return navigateTo('/login')
// }
// }
console.log(to.path)
if (to.path.startsWith("/game")) {
if (Array.isArray(to.params.id)) {
return navigateTo("/lobby");
}
console.log(to.query.id)
// if (Array.isArray(to.query.id)) {
// return navigateTo("/lobby");
// }
return;
}
if (to.path == "/lobby") {