mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: uploading OneDrive files in client side
This commit is contained in:
@@ -264,11 +264,12 @@ func InitMasterRouter() *gin.Engine {
|
||||
{
|
||||
// 文件上传完成
|
||||
onedrive.POST(
|
||||
"finish/:key",
|
||||
"finish/:sessionID",
|
||||
middleware.UseUploadSession("onedrive"),
|
||||
middleware.OneDriveCallbackAuth(),
|
||||
controllers.OneDriveCallback,
|
||||
)
|
||||
// 文件上传完成
|
||||
// OAuth 完成
|
||||
onedrive.GET(
|
||||
"auth",
|
||||
controllers.OneDriveOAuth,
|
||||
|
||||
Reference in New Issue
Block a user