Firebase Hosting: add '/#/' to start of path if not there

Viewed 21

I have a flutter web app, in which paths are displayed as "www.example.com/#/path/to/page"

I want to be able to redirect anyone who clicks on a link to "www.example.com/profiles/user1" to "www.example.com/#/profiles/user1"

How can I use redirects to achieve this? If not, are there other solutions?

0 Answers
Related