mirror of
https://github.com/Chenyu550/alist-fork.git
synced 2025-06-10 14:46:53 -04:00
🐛 fix FTP down
This commit is contained in:
parent
c64c003257
commit
3ce94de823
@ -71,6 +71,7 @@ func Proxy(c *gin.Context) {
|
||||
// 本机读取数据
|
||||
if account.Type == "FTP" {
|
||||
c.Data(http.StatusOK, "application/octet-stream", link.Data)
|
||||
return
|
||||
}
|
||||
// 本机文件直接返回文件
|
||||
if account.Type == "Native" {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user