mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 00:01:10 +08:00
fix
This commit is contained in:
parent
70b46c0fb2
commit
b0042397c9
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -112,7 +112,7 @@ func init() {
|
|||
}
|
||||
|
||||
gin.LoggerWithWriter(io.Discard)
|
||||
router := gin.New()
|
||||
router = gin.New()
|
||||
router.Use(gin.Recovery())
|
||||
//H2C默认值为true,而后遵循cfg.Server.EnableH2C的设置
|
||||
if cfg.Server.EnableH2C == "on" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue