#Axum re-directs to a invalid route

2 messages · Page 1 of 1 (latest)

shadow totem
#

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
https://pastebin.com/RGG1KFei

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:
https://github.com/SpiderUnderUrBed/gameserver-rs/tree/not-working

GitHub

Contribute to SpiderUnderUrBed/gameserver-rs development by creating an account on GitHub.

potent badger
#

this code doesn't contain any redirects, or the word next. so this sounds like svelte doing it, not axum