From 3ce94de823972c5e500247f89f8d472b84fac557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=AE=E5=87=89?= <927625802@qq.com> Date: Fri, 17 Dec 2021 12:14:27 +0800 Subject: [PATCH] :bug: fix FTP down --- server/controllers/down.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/controllers/down.go b/server/controllers/down.go index df120353..d13d1b2f 100644 --- a/server/controllers/down.go +++ b/server/controllers/down.go @@ -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" {