mirror of
https://github.com/AlistGo/alist.git
synced 2025-11-25 19:37:41 +08:00
🐛 fix FTP down
This commit is contained in:
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user