How is trailingSlash 'never' supposed to work on Vercel when static prerendered? #10931
Unanswered
alexbjorlig
asked this question in
Q&A
Replies: 1 comment
-
If you’re using adapter-vercel, I think Kit writes a static redirects file for you. EDIT: same thing happens for adapter static kit/packages/adapter-vercel/index.js Line 372 in 799b9e7 It writes to a config.json file https://vercel.com/docs/build-output-api/v3/configuration#routes |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to understand the documentation here.
If we have a route
/docs/
deployed with static pre-render on Vercel, should it not redirect to/docs
?My coworker insists that we should update a property in
vercel.json
- but should it nok work without updating thevercel.json
file?Beta Was this translation helpful? Give feedback.
All reactions