mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: download / preview files for shared folder
This commit is contained in:
@@ -173,7 +173,7 @@ func InitMasterRouter() *gin.Engine {
|
||||
// 获取分享
|
||||
share.GET("info/:id", controllers.GetShare)
|
||||
// 创建文件下载会话
|
||||
share.POST("download/:id",
|
||||
share.PUT("download/:id",
|
||||
middleware.CheckShareUnlocked(),
|
||||
middleware.BeforeShareDownload(),
|
||||
controllers.GetShareDownload,
|
||||
|
||||
Reference in New Issue
Block a user