React + Vite + React Router, Homepage working, other routes 404
"/" is working
"/login" not working, 404 error
Solution:Jump to solution
https://github.com/brody192/vite-react-template
copy the nixpacks.toml and Caddyfile from that repo into yours...
6 Replies
Project ID:
e2f91d30-179b-4ee9-9ff3-2cfa96a36507
ID: e2f91d30-179b-4ee9-9ff3-2cfa96a36507
can you share your repo?
Solution
https://github.com/brody192/vite-react-template
copy the nixpacks.toml and Caddyfile from that repo into yours
Thanks, it works now
no problem!