mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 07:22:24 -05:00
[feature] S3: add config flag to proxy S3 media (#1014)
* S3: add config value "proxy" for not redirecting Signed-off-by: Mara Sophie Grosch <littlefox@lf-net.org> * S3: document new config value "proxy" * S3: add new config value "proxy" to test scripts Signed-off-by: Mara Sophie Grosch <littlefox@lf-net.org>
This commit is contained in:
parent
3ce0e33f99
commit
948e90b95a
10 changed files with 64 additions and 15 deletions
|
|
@ -48,7 +48,7 @@ func NewS3Storage() gtsstorage.Driver {
|
|||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return gtsstorage.NewS3(mc, os.Getenv("GTS_STORAGE_S3_BUCKET"))
|
||||
return gtsstorage.NewS3(mc, os.Getenv("GTS_STORAGE_S3_BUCKET"), false)
|
||||
}
|
||||
|
||||
// StandardStorageSetup populates the storage with standard test entries from the given directory.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue