This commit is contained in:
wjqserver 2025-04-07 18:51:22 +08:00
parent dcc50401c4
commit 8a50b311fc
7 changed files with 63 additions and 14 deletions

View file

@ -70,6 +70,7 @@ func ChunkedProxyRequest(ctx context.Context, c *app.RequestContext, u string, c
// 错误处理(404)
if resp.StatusCode == 404 {
c.String(http.StatusNotFound, "File Not Found")
//c.Status(http.StatusNotFound)
return
}