diff --git a/src/webpage/oauth2/auth.ts b/src/webpage/oauth2/auth.ts index ca5d600..57a734c 100644 --- a/src/webpage/oauth2/auth.ts +++ b/src/webpage/oauth2/auth.ts @@ -44,7 +44,7 @@ type botjsonfetch = { }; authorized: boolean; }; -if (window.location.pathname.startsWith("oauth2")) { +if (window.location.pathname.startsWith("/oauth2")) { const users = getBulkUsers(); const params = new URLSearchParams(window.location.search); const well = params.get("instance");