mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: async monitor OneDrive resume upload progress
This commit is contained in:
@@ -180,7 +180,8 @@ func (policy *Policy) GetUploadURL() string {
|
||||
|
||||
var controller *url.URL
|
||||
switch policy.Type {
|
||||
case "local":
|
||||
case "local", "onedrive":
|
||||
server = GetSiteURL()
|
||||
controller, _ = url.Parse("/api/v3/file/upload")
|
||||
case "remote":
|
||||
controller, _ = url.Parse("/api/v3/slave/upload")
|
||||
|
||||
Reference in New Issue
Block a user