- Add a configurable trailing-slash policy via
RcProject.config.trailingSlash(defaultfalse). Routes, canonical/hreflang links, switch-locale/market URLs, and theuseMarketPathhelper are generated in the configured shape, and a Nitro server middleware issues a 301 normalizing the opposite shape. The policy is also applied to Nuxt's<NuxtLink>default so client-side navigation hrefs match, and the active value is readable at runtime viaruntimeConfig.public.laioutr.trailingSlash. Domain path prefixes are normalized, so single- and multi-segment prefixes (/fr,/en/us) — including ones written with a stray trailing slash — compose correctly. Fixes homepage alternate/canonical links carrying a trailing slash on path-prefixed domains (/fr/→/fr). The root path/is unaffected.
On path-prefixed domains the homepage now resolves correctly instead of falling through to the 404 page (the core/404 catch-all is no longer market-prefixed, so