- Clone the repository
- Run
docker compose up
- Open
http://localhost:5000/charts
- Svelte should now display
src/routes/charts/+page.svelte
but it displayssrc/routes/[mode]/+page.svelte
instead - Funnily enough going to
favorites
will correctly showsrc/routes/favorites/+page.svelte
If you rename the folder charts
to anything else like harts
or a
or 123
it also works.
Maybe Svelte doesn't like mainstream music?
-
The container uses ASP.NET Core as the backend to serve the Svelte frontend because that's what I am using in the project where I discovered the bug.
-
If you run the project using
npm run dev
the bug does not occur, which is weird because the bug happens entirely on the client side. This can be confirmed by using the browser dev tools. There are no network requests when switching between the pages using the links.