fix: xunlei upload error (#749)

This commit is contained in:
foxxorcat
2022-03-17 21:13:13 +08:00
committed by GitHub
parent b21801d505
commit 6db09a2736
3 changed files with 120 additions and 67 deletions

View File

@ -37,6 +37,12 @@ var Algorithms = []string{
"T78dnANexYRbiZy",
}
const (
API_URL = "https://api-pan.xunlei.com/drive/v1"
FILE_API_URL = API_URL + "/files"
XLUSER_API_URL = "https://xluser-ssl.xunlei.com/v1"
)
const (
FOLDER = "drive#folder"
FILE = "drive#file"