You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the trailingSlash: true option to redirect all my pages from /page to /page/. However this has the unintended consequence of also redirecting /image.jpeg to /image.jpeg/.
After having a look through the ZEIT now spectrum community, someone suggested:
Hi,
I'm using the
trailingSlash: true
option to redirect all my pages from/page
to/page/
. However this has the unintended consequence of also redirecting/image.jpeg
to/image.jpeg/
.After having a look through the ZEIT now spectrum community, someone suggested:
Eg. redirect all paths to trailing slash, unless it's a file (or the _next) folder.
Am I missing something here or isn't this the intended behaviour of trailingSlash?
Thanks in advance
The text was updated successfully, but these errors were encountered: