How to disable trailing slash config for public directory #17118
Unanswered
ashokdudhade-cbs
asked this question in
Help
Replies: 0 comments
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.
-
After adding trailing slash config in next.config.js, its adding trailing slashes for all paths. I have few resources in the public directory, I'm looking for a way to not apply this configurations for the public directory.
https://nextjs.org/docs/api-reference/next.config.js/trailing-slash
Beta Was this translation helpful? Give feedback.
All reactions