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