Skip to content

Commit

Permalink
Add country code to initialise widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Lundback authored and Overtorment committed Apr 24, 2019
1 parent bbff006 commit c4782b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buy-bitcoin-redirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
if (location.country_code == 'ZA' || location.country_code == 'ZAF' || location.country_code == 'ZAR') {
window.location = 'https://ice3x.com?ref=14342738';
} else if (safello_countries.indexOf(location.country_code) !== -1) {
window.location = 'https://app.safello.com/sdk/quickbuy.html?appId=4904c769-8a1d-43ca-8bd0-896520c94fdf&theme=bluewallet&layout=app&address=' + address;
window.location = 'https://app.safello.com/sdk/quickbuy.html?appId=4904c769-8a1d-43ca-8bd0-896520c94fdf&country=' + location.country_code + '&theme=bluewallet&layout=app&address=' + address;
} else {
window.location = 'https://old.changelly.com/?ref_id=rtagfcvnwiwvhm99';
}
Expand Down

0 comments on commit c4782b7

Please sign in to comment.