mderazon/node-deeplink

How to send fallback in queryparams

n4nadeem opened this issue · 2 comments

Fallback in query params is not working as expected
https://dev-api.monhapp.com/deeplink?url=app://account&fallback="www.google.com" this link redirect to "https://dev-api.monhapp.com/"www.google.com"
What should I send in fallback so that this will ridirect to www.google.com

@n4nadeem

passing fallbank link like below will work

&fallback=https//google.com

Also best to url encode the parameters

https://www.google.com --> https%3A%2F%2Fwww.google.com