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