Fix url encoding

This commit is contained in:
Yarmo Mackenbach 2021-03-06 00:02:58 +01:00
parent 75c8ce3626
commit f05585bf60
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -26,7 +26,7 @@ const generateProxyURL = (type, urlElements, opts) => {
urlElements = [urlElements]
}
urlElements.map((x) => { encodeURIComponent(x) })
urlElements = urlElements.map((x) => { return encodeURIComponent(x) })
return `https://${
opts.doipProxyHostname