R
Railway•15mo ago
cbturtle2

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
Percy•15mo ago
Project ID: 9628a240-232e-49e7-9a3c-d773077494e1
Brody
Brody•15mo ago
is this a csr rendered spa app?
cbturtle2
cbturtle2OP•15mo ago
9628a240-232e-49e7-9a3c-d773077494e1 Just a standard vite app
cbturtle2
cbturtle2OP•15mo ago
GitHub
GitHub - Cbturtle2/PersonalWebsite
Contribute to Cbturtle2/PersonalWebsite development by creating an account on GitHub.
Brody
Brody•15mo 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
cbturtle2OP•15mo ago
Testing, one sec 🙂 Works great. thanks a ton!
Brody
Brody•15mo ago
no problem!
Want results from more Discord servers?
Add your server