Skip to content

Commit

Permalink
Use HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
masterT authored Dec 3, 2016
1 parent b80cdf0 commit 711e762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ var generateQueryString = function (query, method, credentials) {
}).join("&")

var signature = encodeURIComponent(generateSignature('GET\n' + domain + '\n/onca/xml\n' + unsignedString, credentials.awsSecret)).replace(/\+/g, '%2B');
var queryString = 'http://' + domain + '/onca/xml?' + unsignedString + '&Signature=' + signature;
var queryString = 'https://' + domain + '/onca/xml?' + unsignedString + '&Signature=' + signature;

return queryString;
};
Expand Down

0 comments on commit 711e762

Please sign in to comment.