RouteType: "page" | "endpoint" | "redirect" | "fallback"
  • page: a route that lives in the file system, usually an Astro component
  • endpoint: a route that lives in the file system, usually a JS file that exposes endpoints methods
  • redirect: a route points to another route that lives in the file system
  • fallback: a route that doesn't exist in the file system that needs to be handled with other means, usually the middleware