fix resp header setting

This commit is contained in:
wjqserver 2025-06-16 08:50:05 +08:00
parent 1636bf1548
commit ceda8220fd
2 changed files with 4 additions and 7 deletions

View file

@ -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)