mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: creat uri aria2 download task
This commit is contained in:
@@ -274,7 +274,10 @@ func InitMasterRouter() *gin.Engine {
|
||||
}
|
||||
|
||||
// 离线下载任务
|
||||
//aria2 := auth.Group("aria2")
|
||||
aria2 := auth.Group("aria2")
|
||||
{
|
||||
aria2.POST("url", controllers.AddAria2URL)
|
||||
}
|
||||
|
||||
// 目录
|
||||
directory := auth.Group("directory")
|
||||
|
||||
Reference in New Issue
Block a user