From b3252aab94e4f62ad4ded3656fbf7db7a8b1ba2d Mon Sep 17 00:00:00 2001 From: legonzaur Date: Thu, 9 May 2024 22:09:33 +0200 Subject: [PATCH] Allow discord login with default path --- app.vue | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app.vue b/app.vue index dc14080..4d66444 100644 --- a/app.vue +++ b/app.vue @@ -14,15 +14,11 @@ const route = useRoute() let username = ref("legonzaur"); onMounted(async () => { - if (route.path != "/login") { - return - } const code = route.query.code if (!code) { return } if (Array.isArray(code)) { return } await setup_websocket() oauth2_register_discord(code) - history.pushState( {}, '',