Skip to content

Commit

Permalink
chore(api): use secure in production
Browse files Browse the repository at this point in the history
  • Loading branch information
Satont committed Aug 23, 2023
1 parent 0ecfaaa commit fa9cc00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/api/internal/impl_protected/files/files.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func New(deps *impl_deps.Deps) *Files {
&minio.Options{
Creds: credentials.NewStaticV4(deps.Config.S3AccessToken, deps.Config.S3SecretToken, ""),
Region: deps.Config.S3Region,
Secure: deps.Config.AppEnv == "production",
},
)
if err != nil {
Expand Down

0 comments on commit fa9cc00

Please sign in to comment.