From 711e76237a2d1244ae9f49a3cb608f4b72f4f211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Thibout=C3=B4t?= Date: Sat, 3 Dec 2016 13:39:53 -0500 Subject: [PATCH] Use HTTPS --- lib/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.js b/lib/utils.js index 1a22456..3842c3a 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -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; };