Function normalize_metadata_route

Source
pub fn normalize_metadata_route(page: AppPage) -> Result<AppPage>
Expand description

Map metadata page key to the corresponding route

static file page key: /app/robots.txt -> /robots.txt -> /robots.txt/route dynamic route page key: /app/robots.tsx -> /robots -> /robots.txt/route