feat: add URLSuffix resource option with S3 (#1428)

* feat: add URLSuffix resource option with S3

* feat: add URLSuffix resource option with S3

* fix: eslint
This commit is contained in:
Xudong Cai
2023-04-01 15:28:00 +08:00
committed by GitHub
parent 8eed9c267c
commit d21abfc60c
5 changed files with 17 additions and 1 deletions

View File

@ -194,6 +194,7 @@ func (s *Server) registerResourceRoutes(g *echo.Group) {
Region: s3Config.Region,
Bucket: s3Config.Bucket,
URLPrefix: s3Config.URLPrefix,
URLSuffix: s3Config.URLSuffix,
})
if err != nil {
return echo.NewHTTPError(http.StatusInternalServerError, "Failed to new s3 client").SetInternal(err)