🔥 delete proxy interface

This commit is contained in:
微凉
2022-02-02 18:03:54 +08:00
parent 6f14d0eb5c
commit feb42f1f4b
20 changed files with 64 additions and 71 deletions

View File

@ -15,7 +15,6 @@ import (
log "github.com/sirupsen/logrus"
"io"
"io/ioutil"
"net/http"
"net/url"
"os"
"path/filepath"
@ -197,9 +196,9 @@ func (driver Pan123) Path(path string, account *model.Account) (*model.File, []m
return nil, files, nil
}
func (driver Pan123) Proxy(r *http.Request, account *model.Account) {
r.Header.Del("origin")
}
//func (driver Pan123) Proxy(r *http.Request, account *model.Account) {
// r.Header.Del("origin")
//}
func (driver Pan123) Preview(path string, account *model.Account) (interface{}, error) {
return nil, base.ErrNotSupport