Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
feat: add `HostnameImmutable` to aws endpoint config (#1230)
Alex Zhaod0c40490a701
diff --git a/plugin/storage/s3/s3.go b/plugin/storage/s3/s3.goindex 6ecbab685..f69921725 100644--- a/plugin/storage/s3/s3.go+++ b/plugin/storage/s3/s3.go@@ -33,6 +33,9 @@ func NewClient(ctx context.Context, config *Config) (*Client, error) {return aws.Endpoint{URL: config.EndPoint,SigningRegion: config.Region,+ // For some s3-compatible object stores, converting the hostname is not required,+ // and not setting this option will result in not being able to access the corresponding object store address.+ HostnameImmutable: true,}, nil})