We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ad10e9 commit f7753ccCopy full SHA for f7753cc
src/lib/datasource/S3.ts
@@ -64,7 +64,7 @@ export class S3Datasource extends Datasource {
64
this.ensureReadWriteAccess();
65
}
66
67
- private key(path: string): string {
+ public key(path: string): string {
68
if (this.options.subdirectory) {
69
return this.options.subdirectory.endsWith('/')
70
? this.options.subdirectory + path
src/offload/partial.ts
@@ -152,7 +152,7 @@ async function main() {
152
client: s3datasource.client,
153
params: {
154
Bucket: s3datasource.options.bucket,
155
- Key: file.filename,
+ Key: s3datasource.key(file.filename),
156
Body: bodyStream,
157
},
158
partSize: bytes(config.chunks.size),
0 commit comments