mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user