mirror of
https://codeberg.org/git-pages/git-pages.git
synced 2026-05-14 03:01:48 +00:00
Enable all S3 features when initializing the store.
This commit is contained in:
@@ -179,6 +179,12 @@ func NewS3Backend(ctx context.Context, config *S3Config) (*S3Backend, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
err = (&S3Backend{client: client, bucket: bucket}).
|
||||
EnableFeature(ctx, FeatureCheckDomainMarker)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
initS3BackendMetrics()
|
||||
|
||||
Reference in New Issue
Block a user