🪻 distributed transcription service thistle.dunkirk.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: redirect to classes after login

+3
+3
src/components/auth.ts
··· 387 387 this.closeModal(); 388 388 await this.checkAuth(); 389 389 window.dispatchEvent(new CustomEvent("auth-changed")); 390 + window.location.href = "/classes"; 390 391 } else { 391 392 const response = await fetch("/api/auth/login", { 392 393 method: "POST", ··· 414 415 this.closeModal(); 415 416 await this.checkAuth(); 416 417 window.dispatchEvent(new CustomEvent("auth-changed")); 418 + window.location.href = "/classes"; 417 419 } 418 420 } catch (error) { 419 421 // Catch crypto.subtle errors and other exceptions ··· 482 484 await this.checkAuth(); 483 485 this.closeModal(); 484 486 window.dispatchEvent(new CustomEvent("auth-changed")); 487 + window.location.href = "/classes"; 485 488 } finally { 486 489 this.isSubmitting = false; 487 490 }