Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[frogcrypto] fix feed qr redirect (proofcarryingdata#1248)
Due to an unfortunate merge conflict below, I accidentally changed the default frogcrypto provider url to the zupass server. This resulted some users with "wrong" feedhost url and rendered the finding frog subscriptions giving unexpected results. This PR makes a workaround where we look at /frogcrypto url parts or compare feed id directly when appropriate. This is required to immediately unblock QR code redirect because we want to redirect them to new user experience if they don't have feeds. With the bug, they are just redirected to the frog folder. I missed this in testing because local dev both URLs are the same. I would like to properly clean up separately with more time to thoroughly test proofcarryingdata#1247 ### testing I tested locally by adding staging feeds to verified redirect and folder countdown works. Basically I added staging feedhost as a "mistake" feedhost and the only frog feeds. I am now able to get the redirect experience as expected. ### merge conflict https://github.com/proofcarryingdata/zupass/pull/1215/files#diff-ca4750669dc9235cf1a324644f88d010d6e6974a2c7ded8bb3fde1dedaa35373L216 https://github.com/proofcarryingdata/zupass/pull/1215/files#diff-e1bb5c065547fd6892370519a9609ddadde3350f17227aa651df910e50633c99R14 Co-authored-by: Forest Fang <[email protected]>
- Loading branch information