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
With the current version of Sveltekit (v1.0.0-next.232) I cannot reproduce this issue. Here is my repo: https://github.com/nhe23/test-2886. It also works in the stackblitz-repo that is mentioned in the issue description, which uses the newest version of Sveltekit.
Describe the bug
When
kit.paths.base
is configured, the index page cannot be accessed without a trailing slash. Adjacent pages work.Config:
files:
With the above setup, here's how it works:
/admin
- 404 (but expected index)/admin/
- index/admin/not-index
- not-indexReproduction
The issue reproduced on Stackblitz: https://stackblitz.com/edit/sveltekit-44rsrt?file=svelte.config.js
When the app is running, try navigating to
/admin
to see the 404.Repo: https://github.com/ebeloded/sveltekit-base-path-index-issue
Logs
No response
System Info
Severity
blocking all usage of SvelteKit
Additional Information
We need to be able to use the app from a non-root path and having a working index page is critical
The text was updated successfully, but these errors were encountered: