Skip to content

Commit

Permalink
Changed base url to use HTTPS (#1)
Browse files Browse the repository at this point in the history
Himawari 8 server now redirects HTTP request to HTTPS, and HTTP no longer works

Co-authored-by: Christopher G <[email protected]>
  • Loading branch information
ungoldman and tophrr authored Apr 15, 2022
1 parent acdde45 commit d5a4f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var himawari = function (userOptions) {

// The base URL for the Himawari-8 Satellite uploads
var image_type = options.infrared ? 'INFRARED_FULL' : 'D531106';
var base_url = 'http://himawari8-dl.nict.go.jp/himawari8/img/' + image_type;
var base_url = 'https://himawari8-dl.nict.go.jp/himawari8/img/' + image_type;

log('Resolving date...');
resolveDate(base_url, options.date, function (err, now) {
Expand Down

0 comments on commit d5a4f1f

Please sign in to comment.