Routing knobs: caseSensitive and trailingSlash (G-B3, G-B4)
Two routing options reach every server router, the browser router and the API routes.
Two routing options reach every server router, the browser router and the API routes. They are not keys of
dusk.config.ts:
router.caseSensitiveis an option of thedusk()Vite plugin (defaultfalse). It decides whether/Aboutand/aboutare the same route, at build time (the scanner) and at run time (the server matchers and the browser router). The build writes it into the server manifest and the client entry, so you set it once. See Case sensitivity.trailingSlashis an option ofcreateHandler, set insrc/entry-server.ts(default"never"). It is"never","always"or"preserve". It applies to pages and to API routes alike: a request for the other form is a 308 to the canonical one, except that"preserve"redirects nothing. See Trailing slashes on API routes.