fix: stream assets from storage local locations (#2087)
This commit is contained in:
@@ -119,6 +119,9 @@ module.exports = class S3CompatibleStorage {
|
||||
WIKI.logger.info(`(STORAGE/${this.storageName}) Renaming file from ${asset.path} to ${asset.destinationPath}...`)
|
||||
await this.s3.copyObject({ CopySource: asset.path, Key: asset.destinationPath }).promise()
|
||||
await this.s3.deleteObject({ Key: asset.path }).promise()
|
||||
}
|
||||
async getLocalLocation () {
|
||||
|
||||
}
|
||||
/**
|
||||
* HANDLERS
|
||||
|
Reference in New Issue
Block a user