feat(app): replace password pairing with one-time links (#50972)

This commit is contained in:
Shoubhit Dash
2026-09-24 18:28:48 +05:30
committed by GitHub
Unverified
parent eccf0b3b7b
commit 2caba90a63
27 changed files with 201 additions and 448 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ export const handler = Effect.fn("cli.web-ui.handler")(function* (options?: { re
Effect.gen(function* () {
const request = yield* HttpServerRequest.HttpServerRequest
const url = new URL(request.url, "http://localhost")
// Serve the web shell before API authentication so /connect can load credentials in JavaScript.
// Serve the web shell before API authentication so a signed-out browser gets the app's sign-in screen.
if (
url.pathname === "/api" ||
url.pathname.startsWith("/api/") ||