summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/DownloadService.ts
diff options
context:
space:
mode:
authorおさむのひと <46447427+samunohito@users.noreply.github.com>2025-02-26 10:48:38 +0900
committerGitHub <noreply@github.com>2025-02-26 01:48:38 +0000
commit495db2743318d43961f2a7fea0084ccae1cd9dea (patch)
treebaa8b619b04956b11ef3e419a86fae97f44f9eb0 /packages/backend/src/core/DownloadService.ts
parentfix(backend): ローカル判定でisUriLocalを使用していない箇所... (diff)
downloadsharkey-495db2743318d43961f2a7fea0084ccae1cd9dea.tar.gz
sharkey-495db2743318d43961f2a7fea0084ccae1cd9dea.tar.bz2
sharkey-495db2743318d43961f2a7fea0084ccae1cd9dea.zip
fix(backend): カスタム絵文字の一括インポートをした時にHTTPプロキシの除外設定が効かないのを修正 (#15431)
* pxory * fix * fix CHANGELOG.md * allow localAddress --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Diffstat (limited to 'packages/backend/src/core/DownloadService.ts')
-rw-r--r--packages/backend/src/core/DownloadService.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/backend/src/core/DownloadService.ts b/packages/backend/src/core/DownloadService.ts
index 2e78e6d877..a2b74d1ab2 100644
--- a/packages/backend/src/core/DownloadService.ts
+++ b/packages/backend/src/core/DownloadService.ts
@@ -60,8 +60,8 @@ export class DownloadService {
request: operationTimeout, // whole operation timeout
},
agent: {
- http: this.httpRequestService.httpAgent,
- https: this.httpRequestService.httpsAgent,
+ http: this.httpRequestService.getAgentForHttp(urlObj, true),
+ https: this.httpRequestService.getAgentForHttps(urlObj, true),
},
http2: false, // default
retry: {