fix stuff
This commit is contained in:
@@ -45,12 +45,14 @@ func main() {
|
||||
defer database.Close()
|
||||
|
||||
objectStorage, err := storage.NewMinIO(storage.Config{
|
||||
Endpoint: cfg.StorageEndpoint,
|
||||
AccessKey: cfg.StorageAccessKey,
|
||||
SecretKey: cfg.StorageSecretKey,
|
||||
Bucket: cfg.StorageBucket,
|
||||
UseSSL: cfg.StorageUseSSL,
|
||||
CORSOrigins: cfg.CORSOrigin,
|
||||
Endpoint: cfg.StorageEndpoint,
|
||||
PublicEndpoint: cfg.StoragePublicEndpoint,
|
||||
AccessKey: cfg.StorageAccessKey,
|
||||
SecretKey: cfg.StorageSecretKey,
|
||||
Bucket: cfg.StorageBucket,
|
||||
UseSSL: cfg.StorageUseSSL,
|
||||
PublicUseSSL: true,
|
||||
CORSOrigins: cfg.CORSOrigin,
|
||||
})
|
||||
if err != nil {
|
||||
log.Fatalf("storage unavailable: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user