Replies: 1 comment 7 replies
-
Hi Joe! Didn't notice it the first time, but if your If you use the Managing relative URLs in a site that is hosted in a sub-path is tricky, but now we can discard other causes, such as trailing slash.
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have
siteUrl
set to something likehttp://example.com/abc
, it'll always redirect tohttp://example.com/abc/
, and it gives inconsistent link behaviours. Say if I have a href link tohttp://example.com/abc/123
, it will actually go tohttp://example.com/abc/abc/123
in dev environment, and no such problem in built files.So is there a way to remove trailing slashes? I tried to set every route to
strict
inenhanceApp
, but it did not help.Beta Was this translation helpful? Give feedback.
All reactions