Merge pull request #11769 from overleaf/jpa-s3-config

[server-ce] add support for s3 backend in filestore

GitOrigin-RevId: 20998547326e75acf22562d2964db78ae261b6bf
This commit is contained in:
Jakob Ackermann
2023-02-10 09:12:23 +00:00
committed by Copybot
parent 583a27cfb6
commit 9cf1373777
2 changed files with 43 additions and 31 deletions
@@ -361,7 +361,7 @@ module.exports = class S3Persistor extends AbstractPersistor {
options.s3ForcePathStyle = true
}
for (const opt of ['httpOptions', 'maxRetries']) {
for (const opt of ['httpOptions', 'maxRetries', 'region']) {
if (this.settings[opt]) {
options[opt] = this.settings[opt]
}