Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
Update API to HTTPS
Browse files Browse the repository at this point in the history
Fixes #3505
  • Loading branch information
moollaza authored Apr 6, 2018
1 parent 88157ba commit 9371fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DDG/Spice/Currency.pm
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ triggers query_lc => qr/\p{Currency_Symbol}|$currency_qr/;
triggers query_lc => $lang_qr;

spice from => '([^/]+)/([^/]+)/([^/]+)';
spice to => 'http://www.xe.com/tmi/xe-output.php?amount=$1&from=$2&to=$3&appid={{ENV{DDG_SPICE_CURRENCY_APIKEY}}}';
spice to => 'https://www.xe.com/tmi/xe-output.php?amount=$1&from=$2&to=$3&appid={{ENV{DDG_SPICE_CURRENCY_APIKEY}}}';
spice wrap_jsonp_callback => 1;
spice is_cached => 0;
spice proxy_cache_valid => "200 5m";
Expand Down

0 comments on commit 9371fc3

Please sign in to comment.