SolidJS / solidrouter
in vercel i have like this in my vercel.json for rewrites/routing (React + react router):
{
"rewrites": [{ "source": "/(.*)", "destination": "/" }]
}
Do you know if there is something similar for railway.app and for solidjs? (solid router). SPA application.
https://docs.solidjs.com/guides/how-to-guides/routing-in-solid/solid-router
Solution:Jump to solution
railway isn't designed for frontend hosting, so this would be something your app is responsible for, my recommendation would be to use caddy, I have an example for react though, it would be very similar to what you need to to.
https://github.com/brody192/create-react-app-starter...
5 Replies
Project ID:
N/A
N/A
Solution
railway isn't designed for frontend hosting, so this would be something your app is responsible for, my recommendation would be to use caddy, I have an example for react though, it would be very similar to what you need to to.
https://github.com/brody192/create-react-app-starter
okey thanks for quick reply 😛 then i'm better of hosting our frontend on vercel
sounds good