Feat: using custom reverse proxying in OneDrive file downloading

This commit is contained in:
HFO4
2020-12-08 17:30:22 +08:00
parent 0cfa61e264
commit bd2bdf253b
2 changed files with 26 additions and 3 deletions

View File

@@ -47,8 +47,10 @@ type PolicyOption struct {
FileType []string `json:"file_type"`
// MimeType
MimeType string `json:"mimetype"`
// OdRedirect Onedrive重定向地址
// OdRedirect Onedrive 重定向地址
OdRedirect string `json:"od_redirect,omitempty"`
// OdProxy Onedrive 反代地址
OdProxy string `json:"od_proxy,omitempty"`
// Region 区域代码
Region string `json:"region,omitempty"`
// ServerSideEndpoint 服务端请求使用的 Endpoint为空时使用 Policy.Server 字段