Axum re-directs to a invalid route

⚓ rust    📅 2025-06-09    👤 surdeus    👁️ 1      

surdeus

Why do I keep on getting GET http://localhost:8080/index.html?next=/gameserver-rs/_app/immutable/chunks/D47ybobq.js 404
in axum, like why is it not prefixed with /gameserver-rs/, I don't get where the whole redirect thing is coming from

I get those issues when the page first loads up, because I am using svelte I had to make it so it prefixed the paths correctly, but now it re-directs to something that does not have the prefix

To put it plainly, its supposed to go to

http://localhost:8080/gameserver-rs/index.html

not

http://localhost:8080/index.html

Full code (in main.rs) if needed but my pastebin snippet has everything relevant:

1 post - 1 participant

Read full topic

🏷️ rust_feed