From da59262c452c79af6bef8224cd04347423d1d57e Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Mon, 26 Apr 2021 12:11:45 +0200 Subject: [PATCH] Fix protocol for proxy URLs --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 0f0c5ab..0b6399b 100644 --- a/src/utils.js +++ b/src/utils.js @@ -41,7 +41,7 @@ const generateProxyURL = (type, data, opts) => { queryStrings.push(`${key}=${encodeURIComponent(data[key])}`) }) - return `http://${opts.proxy.hostname}/api/2/get/${type}?${queryStrings.join( + return `https://${opts.proxy.hostname}/api/2/get/${type}?${queryStrings.join( '&' )}` }