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
Describe the bug
The following routes folder structure will result in page /b being a 404 however /b.json is reachable when requested directly. (Both [a].svelte and [b].svelte try to fetch their respective endpoint from the load function.)
The issue only comes up when the address is accessed directly; navigating to /b is still working (see root page).
Describe the bug
The following routes folder structure will result in page
/b
being a 404 however/b.json
is reachable when requested directly. (Both[a].svelte
and[b].svelte
try to fetch their respective endpoint from the load function.)The issue only comes up when the address is accessed directly; navigating to
/b
is still working (see root page).The same routes flattened as such will work as expected:
Logs
Retracing
/b
request by logging paths from each endpoint and page:To Reproduce
Repo: https://github.com/adamjkb/sveltekit-adjacent-fallthrough-routes
Type localhost:3000/b in address bar.
Expected behavior
To reach all endpoints/pages if its requirements are met.
Severity
Low–medium. Has work around.
The text was updated successfully, but these errors were encountered: