How works redirecction in railway for react
I need to redirect form https://web.com to https://www.web.com
anyone knows how to do it?
thanks.
app id: 992cf34a-815d-4283-8440-0049e897a74e
Solution:Jump to solution
yes, you are using serve, serve does not allow you to setup redirection rules, you would need to do the redirection via cloudflare page rules.
but may I ask why you want to redirect to www?...
13 Replies
Project ID:
992cf34a-815d-4283-8440-0049e897a74e
how are you currently serving your react app?
railway[back, front], cloudfflare.
right but how have you configured railway to serve your frontend
this?
no, show me your deployment logs please
this?
Solution
yes, you are using serve, serve does not allow you to setup redirection rules, you would need to do the redirection via cloudflare page rules.
but may I ask why you want to redirect to www?
i think becouse here in chile all webs company work with that
okay it's your preference
yep but how can i redirect form cloudflare?
as mentioned, page rules
man you should work for the nasa xD