Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1541

sveltekit routes broken, gets +page.svelte from the wrong route

$
0
0

So i have the common svelte kit route structure of just src/routes/pagename/+page.svelte

so pretty much my routes do not work, when i visit website.com/paste, it displays the correct +page.svelte for around 1 second or so, and then switches to the content of upload/+page.svelte, when i visit my website in chrome and check the developer network tab it makes a request to website.com/src/routes/upload/+page.svelte rather than website.com/src/routes/paste/+page.svelte, when i am on the paste page this has never happened and i didnt even change my file structure code and this started

i genuinely have no clue on what to try, i couldnt find anythign about it online and copilot was 0 help.


Viewing all articles
Browse latest Browse all 1541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>