Skip to content

Commit

Permalink
Merge branch 'master' into publish
Browse files Browse the repository at this point in the history
  • Loading branch information
alanraison committed Feb 19, 2024
2 parents 03e3730 + da43d1e commit 298d5a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default class MulterGoogleCloudStorage implements multer.StorageEngine {
contentType: blob.metadata.contentType,
size: blob.metadata.size,
uri: `gs://${blob.metadata.bucket}/${blobFile.destination}${filename}`,
linkUrl: `https://storage.googleapis.com/${blob.metadata.bucket}/${blobFile.destination}${filename}`,
linkUrl: `${this.gcsStorage.apiEndpoint}/${blob.metadata.bucket}/${blobFile.destination}${filename}`,
selfLink: blob.metadata.selfLink,
//metadata: blob.metadata
})
Expand Down

0 comments on commit 298d5a8

Please sign in to comment.