File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
packages/plugin-aws-s3/src Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,9 @@ export type Options<
117
117
118
118
/** AWS endpoint, defaults to process.env.AWS_S3_ENDPOINT */
119
119
endpoint ?: string ;
120
+
121
+ /** AWS forcePathStyle, defauls to false */
122
+ forcePathStyle ?: boolean ;
120
123
} ;
121
124
} ;
122
125
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ export default class Client {
20
20
this . client = new S3Client ( {
21
21
region : options ?. region ?? process . env . AWS_DEFAULT_REGION ,
22
22
endpoint : options ?. endpoint ?? process . env . AWS_S3_ENDPOINT ,
23
+ forcePathStyle : options ?. forcePathStyle ?? false ,
23
24
credentials : {
24
25
accessKeyId : options ?. accessKeyId ?? process . env . AWS_ACCESS_KEY_ID ,
25
26
secretAccessKey : options ?. secretAccessKey ?? process . env . AWS_SECRET_ACCESS_KEY ,
You can’t perform that action at this time.
0 commit comments