10 lines · 532 B · TypeScript
RawDownload
// Route sets shared between the SSR auth gate (server) and the root// AuthGate (client) — one source of truth so the two layers can't disagree// about which pages a given auth state may see. Pure data, safe in both// bundles. /** Pages that render for SIGNED-OUT visitors (the gate lets them through). */export const PUBLIC_PATHS = new Set(["/login"]); /** Pages an authenticated-but-org-less user is FOR (everything else redirects to onboarding). */export const ONBOARDING_PATHS = new Set(["/create-org", "/setup-mcp"]);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t