Skip to content

Glossary

  • Astro static build: The generated HTML/CSS/JS output (dist) for mostly static hosting.
  • Cloudflare Access: Zero Trust access layer that authenticates users for protected host/path scopes.
  • Gateway worker: workers/auth-gateway.js, which handles auth session/logout, protected path checks, and /api/* routing behavior.
  • Image worker: workers/image-optimizer.js, which applies image optimization behavior on configured routes.
  • Wrangler config: Worker deployment/runtime configuration in workers/wrangler.*.toml.
  • Protected path prefixes: Comma-separated prefixes (PROTECTED_PATH_PREFIXES) that require token verification.
  • Session endpoint: GET /api/auth/session, worker-provided JSON auth state consumed by layout/header logic.
  • Maintenance mode: Middleware-driven rewrite to /maintenance when PUBLIC_MAINTENANCE_MODE is true.
  • CSP: Content Security Policy set in public/_headers that controls allowed browser resource origins.
  • CORS: Cross-origin policy headers for API endpoints in public/_headers.
  • Starlight: Astro docs theme/integration used for this docs workspace.
  • Workspace script: Commands run via yarn workspace <name> <script> in the monorepo.