|
@@ -11,7 +11,6 @@
|
|
|
) {
|
|
|
const authResult = await this.fetch("/login/check");
|
|
|
const result = (await authResult.json()) as AuthInfo;
|
|
|
- console.log(`Auth: ${result.loggedIn}`);
|
|
|
if (path.startsWith("/login/")) {
|
|
|
if (result.loggedIn) {
|
|
|
return this.redirect(302, "/");
|