Redirecting traffic to index.html
apexlevraijonathan
PROOP

a year ago

We are deploying a static HTML project (Flutter compiled files) to Railway.

The traffic needs to be routed to the index.html file in order for our paths to work.

Is there a way to configure Railway for that usecase?

Solved

1 Replies

a year ago

You might try setting up something like an Express server with a catch-all route on the index.html

https://docs.railway.com/guides/express


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

a year ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...