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