mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: create empty file in web panel (#305)
This commit is contained in:
@@ -445,6 +445,8 @@ func InitMasterRouter() *gin.Engine {
|
||||
file.GET("upload/credential", controllers.GetUploadCredential)
|
||||
// 更新文件
|
||||
file.PUT("update/:id", controllers.PutContent)
|
||||
// 创建空白文件
|
||||
file.POST("create", controllers.CreateFile)
|
||||
// 创建文件下载会话
|
||||
file.PUT("download/:id", controllers.CreateDownloadSession)
|
||||
// 预览文件
|
||||
|
||||
Reference in New Issue
Block a user