mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 01:36:55 +01:00
prefix all S3 files with '/'
This commit is contained in:
parent
d16ef5e4ec
commit
bc756270c7
@ -445,6 +445,10 @@ export const s3 = () => {
|
||||
"^.+$": "$&"
|
||||
}
|
||||
}))
|
||||
// Make sure everything goes to the root '/'
|
||||
.pipe($.rename(path => {
|
||||
path.dirname = '/' + path.dirname
|
||||
}))
|
||||
.pipe(parallelize(publisher.publish(), 100))
|
||||
.pipe(publisher.sync()) // delete files in bucket that are not in local folder
|
||||
.pipe($.awspublish.reporter({
|
||||
|
Loading…
Reference in New Issue
Block a user