feat: s3 server support (#6088 close #5186)

Currently tested: List, Get, Remove
This commit is contained in:
itsHenry
2024-03-02 15:35:10 +08:00
committed by GitHub
parent f8b1f87a5f
commit d0f88bd1cb
14 changed files with 875 additions and 16 deletions

View File

@ -36,6 +36,7 @@ func Init(e *gin.Engine) {
g.Use(middlewares.MaxAllowed(conf.Conf.MaxConnections))
}
WebDav(g.Group("/dav"))
S3(g.Group("/s3"))
g.GET("/d/*path", middlewares.Down, handles.Down)
g.GET("/p/*path", middlewares.Down, handles.Proxy)