This commit is contained in:
wjqserver
2025-04-17 22:20:06 +08:00
parent 7e5b12dff8
commit dd2f5b5a12
7 changed files with 50 additions and 8 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ func GitReq(ctx context.Context, c *app.RequestContext, u string, cfg *config.Co
return
}
setRequestHeaders(c, req)
removeWSHeader(req)
//removeWSHeader(req)
AuthPassThrough(c, cfg, req)
resp, err = gitclient.Do(req)
@@ -58,7 +58,7 @@ func GitReq(ctx context.Context, c *app.RequestContext, u string, cfg *config.Co
return
}
setRequestHeaders(c, req)
removeWSHeader(req)
//removeWSHeader(req)
AuthPassThrough(c, cfg, req)
resp, err = client.Do(req)