mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
fix status code
This commit is contained in:
parent
f342312b40
commit
635c22f9a7
2 changed files with 35 additions and 33 deletions
|
|
@ -116,7 +116,7 @@ func ChunkedProxyRequest(ctx context.Context, c *app.RequestContext, u string, c
|
|||
c.Header("Access-Control-Allow-Origin", cfg.Server.Cors)
|
||||
}
|
||||
|
||||
//c.Status(resp.StatusCode)
|
||||
c.Status(resp.StatusCode)
|
||||
//c.Response.HijackWriter(hresp.NewChunkedBodyWriter(&c.Response, c.GetWriter()))
|
||||
|
||||
if MatcherShell(u) && matchString(matcher, matchedMatchers) && cfg.Shell.Editor {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue