diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-07-31 19:14:20 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-31 19:14:20 +0900 |
| commit | 2b4c8c9e0f9c9b25c0829595132650519476972c (patch) | |
| tree | 51396d8ba9f9fbe8c6c65b7aedd4ab516035f66f /packages/backend/src/core/HttpRequestService.ts | |
| parent | enhance(frontend): 押したリアクションのデザインを改善 (#11434) (diff) | |
| download | sharkey-2b4c8c9e0f9c9b25c0829595132650519476972c.tar.gz sharkey-2b4c8c9e0f9c9b25c0829595132650519476972c.tar.bz2 sharkey-2b4c8c9e0f9c9b25c0829595132650519476972c.zip | |
update deps (#11409)
* update deps
* Update .eslintrc.js
* Update .eslintrc.js
* lint
* lint
* Update update.ts
* update deps
* Update .eslintrc.js
Diffstat (limited to 'packages/backend/src/core/HttpRequestService.ts')
| -rw-r--r-- | packages/backend/src/core/HttpRequestService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/HttpRequestService.ts b/packages/backend/src/core/HttpRequestService.ts index 47878ed694..487172deae 100644 --- a/packages/backend/src/core/HttpRequestService.ts +++ b/packages/backend/src/core/HttpRequestService.ts @@ -93,7 +93,7 @@ export class HttpRequestService { */ @bindThis public getAgentByUrl(url: URL, bypassProxy = false): http.Agent | https.Agent { - if (bypassProxy || (this.config.proxyBypassHosts || []).includes(url.hostname)) { + if (bypassProxy || (this.config.proxyBypassHosts ?? []).includes(url.hostname)) { return url.protocol === 'http:' ? this.http : this.https; } else { return url.protocol === 'http:' ? this.httpAgent : this.httpsAgent; |