Statement
Trailing slash enforcement behavior shall be controllable from a single configuration value such that enabling or disabling it does not require manual edits in multiple files.
Rationale
The current implementation hardcodes trailingSlash in astro.config.mjs independently of any runtime URL generation helpers, creating a drift risk. A single toggle drives both the Astro build option and runtime helpers. Distinct from REQ-00145, which governs the enforcement redirect behavior itself.
Topics
Owner: rendering-runtime
Related: seo-metadata , operational
Applies To
- SEO and Analytics DOC-00022
- Build & Request Pipeline DOC-00084
Related Requirements
- REQ-00145 In production-aligned outputs (build/preview/deployed), requests for URLs missing the required trailing slash shall automatically redirect to the trailing-slash canonical URL.