mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
fix resp header setting
This commit is contained in:
parent
1636bf1548
commit
ceda8220fd
2 changed files with 4 additions and 7 deletions
|
|
@ -241,7 +241,7 @@ func GhcrRequest(ctx context.Context, c *touka.Context, u string, image *imageIn
|
|||
}
|
||||
}
|
||||
*/
|
||||
copyHeader(resp.Header, c.GetAllReqHeader())
|
||||
c.SetHeaders(resp.Header)
|
||||
|
||||
c.Status(resp.StatusCode)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue