mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 16:21:11 +08:00
25w06b
This commit is contained in:
parent
ac6b641995
commit
9536cc5b49
4 changed files with 25 additions and 7 deletions
|
|
@ -14,3 +14,8 @@ func setRequestHeaders(c *gin.Context, req *http.Request) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
func removeWSHeader(req *http.Request) {
|
||||
req.Header.Del("Upgrade")
|
||||
req.Header.Del("Connection")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue