forked from Mirrors/doipjs
Fix protocol for proxy URLs
This commit is contained in:
parent
e13bd4e9f5
commit
da59262c45
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
'&'
|
||||
)}`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue