Skip to content

Commit

Permalink
objectStorageを使わない場合があることを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyatea committed Dec 17, 2024
1 parent 1531b6c commit 039e7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/core/S3Service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class S3Service {

const agent = this.httpRequestService.getAgentByUrl(new URL(u), !objectStorageConfig.objectStorageUseProxy);
const handlerOption: NodeHttpHandlerOptions = {};
if (meta.objectStorageUseSSL) {
if (this.config.objectStorage.objectStorageUseSSL) {
handlerOption.httpsAgent = agent as https.Agent;
} else {
handlerOption.httpAgent = agent as http.Agent;
Expand Down

0 comments on commit 039e7f7

Please sign in to comment.