🐛 fix FTP down

pull/548/head
微凉 2021-12-17 12:14:27 +08:00
parent c64c003257
commit 3ce94de823
1 changed files with 1 additions and 0 deletions

View File

@ -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" {