I'm building a web app using Framework 7 and hosting it on Firebase. For the purpose of using Facebook sharer, I wanted to redirect my url from https://mywebapp.com/page/pageId to https://mywebapp.com/#!/page/pageId. My firebase config
"redirects": [ {
"source" : "/page/:pageId"
"destination" : "/#!/page/:pageId",
"type" : 301
}]
The return url is encoded as https://mywebapp.com/%23%21/page/pageId and I couldn't access the page. Is there any way to prevent Firebase from encoding the redirect destination?