Skip to content

Commit

Permalink
chore: added checks for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienne-deriv committed Jul 15, 2024
1 parent 71c00c0 commit 70b9e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/scripts/storeRedirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
window.location.href = "market://details?id=com.deriv.ct";
}
} else if (app === 'partnershub') {
if (/iP(hone|od|ad)/.test(navigator.userAgent)) {
if (/iP(hone|od|ad)/.test(navigator.userAgent) || /Mac/.test(navigator.userAgent)) {
window.location.href = "https://apps.apple.com/us/app/deriv-partners-academy/id6478279499"
} else {
window.location.href = "market://details?id=com.deriv.partneracademy";
Expand Down

0 comments on commit 70b9e44

Please sign in to comment.