Move default aws configuration to config file
Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
@@ -2,3 +2,7 @@ probod:
|
||||
api:
|
||||
cors:
|
||||
allowed-origins: ["http://localhost:3000"]
|
||||
aws:
|
||||
access-key-id: "probod"
|
||||
secret-access-key: "thisisnotasecret"
|
||||
endpoint: "http://127.0.0.1:9000"
|
||||
|
||||
@@ -92,11 +92,8 @@ func New() *Implm {
|
||||
},
|
||||
},
|
||||
AWS: awsConfig{
|
||||
Region: "us-east-1",
|
||||
Bucket: "probod",
|
||||
AccessKeyID: "probod",
|
||||
SecretAccessKey: "thisisnotasecret",
|
||||
Endpoint: "http://127.0.0.1:9000",
|
||||
Region: "us-east-1",
|
||||
Bucket: "probod",
|
||||
},
|
||||
Mailer: mailerConfig{
|
||||
SenderEmail: "no-reply@notification.getprobo.com",
|
||||
|
||||
Reference in New Issue
Block a user