Skip to content

Commit

Permalink
update exchange rate provider when init in frontend
Browse files Browse the repository at this point in the history
related to PR sqshq#24
  • Loading branch information
chidov committed Jul 18, 2018
1 parent cbe5083 commit 7772ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/src/main/resources/static/js/launch.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ $(window).load(function(){
global.mobileClient = true;
}

$.getJSON("http://api.fixer.io/latest?base=RUB", function( data ) {
$.getJSON("https://exchangeratesapi.io/api/latest?base=RUB", function( data ) {
global.eur = 1 / data.rates.EUR;
global.usd = 1 / data.rates.USD;
});
Expand Down

0 comments on commit 7772ef6

Please sign in to comment.