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
Clicking the tab works for the first time, it goes to /dashboard/programs/inventory/, but when I click the same tab again it will go to /dashboard/programs/inventory/inventory/ which is 404.
trailingSlashes is set to “always”, other values won't work.
You need to construct the appropriate URLs yourself. There's no concept in HTML of a base URL just for a part of a page, and we don't want to take URL resolution out of the hands of the browser, or rewrite hrefs on the fly, etc. The current behavior is the intended behavior.
Describe the bug
My routes structure is like this
Inside
+layout.svelte
I have a tabbed layout using anchorsClicking the tab works for the first time, it goes to
/dashboard/programs/inventory/
, but when I click the same tab again it will go to/dashboard/programs/inventory/inventory/
which is 404.trailingSlashes
is set to “always”, other values won't work.How to fix this without using absolute path?
Reproduction
Repo
Logs
No response
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: