mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-04 06:12:12 +08:00
Log
This commit is contained in:
@@ -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:"
|
||||
|
||||
Reference in New Issue
Block a user