diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2020-03-14 11:33:19 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-14 11:33:19 +0900 |
| commit | a2d3d22b6e9e8bdcc8eab295b7d020540bb1e413 (patch) | |
| tree | effe79dc7a8c54ffe8494aa8d713cf33bfb10067 /src/remote/activitypub | |
| parent | fix gif badge (#6153) (diff) | |
| download | sharkey-a2d3d22b6e9e8bdcc8eab295b7d020540bb1e413.tar.gz sharkey-a2d3d22b6e9e8bdcc8eab295b7d020540bb1e413.tar.bz2 sharkey-a2d3d22b6e9e8bdcc8eab295b7d020540bb1e413.zip | |
オブジェクトストレージでS3のvirtual-host形式のサポートなど (#6148)
* オブジェクトストレージでS3のvirtual-host形式のサポートなど
* 表記揺れ
* more simply
* S3ならばs3ForcePathStyleしない
Diffstat (limited to 'src/remote/activitypub')
| -rw-r--r-- | src/remote/activitypub/request.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remote/activitypub/request.ts b/src/remote/activitypub/request.ts index dc777a3c5d..0f87381a44 100644 --- a/src/remote/activitypub/request.ts +++ b/src/remote/activitypub/request.ts @@ -7,10 +7,10 @@ import config from '../../config'; import { ILocalUser } from '../../models/entities/user'; import { UserKeypairs } from '../../models'; import { ensure } from '../../prelude/ensure'; -import * as httpsProxyAgent from 'https-proxy-agent'; +import { HttpsProxyAgent } from 'https-proxy-agent'; const agent = config.proxy - ? new httpsProxyAgent(config.proxy) + ? new HttpsProxyAgent(config.proxy) : new https.Agent({ lookup: cache.lookup, }); |