mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: onedrive client upload / callback
This commit is contained in:
@@ -150,6 +150,15 @@ func InitMasterRouter() *gin.Engine {
|
||||
middleware.UpyunCallbackAuth(),
|
||||
controllers.UpyunCallback,
|
||||
)
|
||||
onedrive := callback.Group("onedrive")
|
||||
{
|
||||
// 文件上传完成
|
||||
onedrive.POST(
|
||||
"finish/:key",
|
||||
middleware.OneDriveCallbackAuth(),
|
||||
controllers.OneDriveCallback,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
// 需要登录保护的
|
||||
|
||||
Reference in New Issue
Block a user