mirror of
https://github.com/gethomepage/homepage.git
synced 2025-06-03 21:54:32 -04:00
Log
This commit is contained in:
parent
8f25bf5427
commit
8ba3cae921
@ -117,6 +117,7 @@ export async function httpProxy(url, params = {}) {
|
|||||||
let agent;
|
let agent;
|
||||||
if (proxyUrl) {
|
if (proxyUrl) {
|
||||||
agent = constructedUrl.protocol === "https:" ? new HttpsProxyAgent(proxyUrl) : new HttpProxyAgent(proxyUrl);
|
agent = constructedUrl.protocol === "https:" ? new HttpsProxyAgent(proxyUrl) : new HttpProxyAgent(proxyUrl);
|
||||||
|
logger.debug("Using proxy for request to %s: %s", constructedUrl.href, proxyUrl);
|
||||||
} else {
|
} else {
|
||||||
agent =
|
agent =
|
||||||
constructedUrl.protocol === "https:"
|
constructedUrl.protocol === "https:"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user