feat: add support for s3 path (#1233)

* add support for path

* fix typo and switch positions with Path and Bucket

* using path method instead of string concatenation
This commit is contained in:
Alex Zhao
2023-03-04 07:59:44 +08:00
committed by GitHub
parent e062c9b4a7
commit 9d4bb5b3af
5 changed files with 18 additions and 1 deletions

View File

@ -139,6 +139,7 @@ func (s *Server) registerResourceRoutes(g *echo.Group) {
AccessKey: s3Config.AccessKey,
SecretKey: s3Config.SecretKey,
EndPoint: s3Config.EndPoint,
Path: s3Config.Path,
Region: s3Config.Region,
Bucket: s3Config.Bucket,
URLPrefix: s3Config.URLPrefix,