Paths not working when deployed to railway but works in local environment

Currently making a vite/typescript/react project that has working route handling locally but does not when deployed.
7 Replies
Percy
Percy10mo ago
Project ID: 9628a240-232e-49e7-9a3c-d773077494e1
Brody
Brody10mo ago
is this a csr rendered spa app?
cbturtle2
cbturtle210mo ago
9628a240-232e-49e7-9a3c-d773077494e1 Just a standard vite app
cbturtle2
cbturtle210mo ago
GitHub
GitHub - Cbturtle2/PersonalWebsite
Contribute to Cbturtle2/PersonalWebsite development by creating an account on GitHub.
Brody
Brody10mo ago
i see the problem heres a vite/react template https://github.com/brody192/vite-react-template to get yours working you should only need to copy the Caddyfile and nixpacks.toml file from that repo into yours
cbturtle2
cbturtle210mo ago
Testing, one sec 🙂 Works great. thanks a ton!
Brody
Brody10mo ago
no problem!
Want results from more Discord servers?
Add your server
More Posts