Link in html files are wrong for routes when using adapter-static #3014
Labels
bug
Something isn't working
p2-nice-to-have
SvelteKit cannot be used by a small number of people, quality of life improvements, etc.
Milestone
Describe the bug
When building using adapter-static and going to the output folder to check the index.html files you can see that the links
`
or in this case; the entire file is identical.
The links are relative but when creating routes they should be relative to where the index files are stored.
the viewed file in the below image is
/_app/home/prototype/index.html
but the links in it refer to/_app...
but should be../../../_app
Opening one of these index files will result in a "FILE_NOT_FOUND"
Reproduction
https://github.com/myhrmans/sveltekit-link-generation-bug
Logs
No response
System Info
Severity
blocking all usage of SvelteKit
Additional Information
No response
The text was updated successfully, but these errors were encountered: