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:
|
api:
|
||||||
cors:
|
cors:
|
||||||
allowed-origins: ["http://localhost:3000"]
|
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{
|
AWS: awsConfig{
|
||||||
Region: "us-east-1",
|
Region: "us-east-1",
|
||||||
Bucket: "probod",
|
Bucket: "probod",
|
||||||
AccessKeyID: "probod",
|
|
||||||
SecretAccessKey: "thisisnotasecret",
|
|
||||||
Endpoint: "http://127.0.0.1:9000",
|
|
||||||
},
|
},
|
||||||
Mailer: mailerConfig{
|
Mailer: mailerConfig{
|
||||||
SenderEmail: "no-reply@notification.getprobo.com",
|
SenderEmail: "no-reply@notification.getprobo.com",
|
||||||
|
|||||||
Reference in New Issue
Block a user