Skip to content

Commit

Permalink
Merge pull request #69 from t3chnoboy/use-https
Browse files Browse the repository at this point in the history
Use HTTPS
  • Loading branch information
masterT authored Jan 26, 2017
2 parents 5f73e1e + 711e762 commit cb8399a
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 cb8399a

Please sign in to comment.