heroku-buildpack-flutter icon indicating copy to clipboard operation
heroku-buildpack-flutter copied to clipboard

Redirect to index.html

Open amanokerim opened this issue 3 years ago • 4 comments

I use a named routing in my project. If I navigate to the Stacks page, the URL becomes localhost:123/stacks and so on. When I refresh the page locally, the Stacks page opened up. But after deploying to Heroku, after refreshing on stacks page, I get only "Not Found" text.

I think Heroku should redirect all routes to the index.html file.

I found a solution for the Firebase, but can't find one for Heroku: https://stackoverflow.com/a/51236284/1419756

Thank you!

amanokerim avatar Jul 28 '22 08:07 amanokerim

I am having the same issue in my project

alexiadorneles avatar Mar 17 '24 16:03 alexiadorneles

DId you find an answer for heroku or I need to migrate to Firebase ?

ribandgel avatar Sep 04 '24 11:09 ribandgel

DId you find an answer for heroku or I need to migrate to Firebase ?

I migrated to Firebase back in 2022

kerim-amanov avatar Sep 04 '24 11:09 kerim-amanov

DId you find an answer for heroku or I need to migrate to Firebase ?

I migrated to firebase too

alexiadorneles avatar Sep 05 '24 13:09 alexiadorneles