Render textured aerial maps and support legacy recovery links

This commit is contained in:
2026-10-05 18:11:12 +05:00
parent dcc3779262
commit 2cbaf45340
12 changed files with 226 additions and 35 deletions

View File

@@ -0,0 +1,6 @@
// A previously issued recovery email can land at /code=<token> when its email
// template omitted the callback route. Bring that link through verification.
export function legacyRecoveryToken(pathname: string) {
const match = /^\/code=([A-Za-z0-9._~-]{8,2048})$/.exec(pathname);
return match?.[1] ?? null;
}