mirror of
https://github.com/bigchaindb/site.git
synced 2025-02-14 21:10:28 +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(parallelize(publisher.publish(), 100))
|
||||||
.pipe(publisher.sync()) // delete files in bucket that are not in local folder
|
.pipe(publisher.sync()) // delete files in bucket that are not in local folder
|
||||||
.pipe($.awspublish.reporter({
|
.pipe($.awspublish.reporter({
|
||||||
|
Loading…
Reference in New Issue
Block a user