This commit is contained in:
WJQSERVER 2024-12-31 19:41:00 +08:00
parent be6314bd53
commit 546a8ca981
10 changed files with 37 additions and 19 deletions

View file

@ -100,11 +100,6 @@ func init() {
} else {
router.UseH2C = false
}
/*if !cfg.Server.EnableH2C {
router.UseH2C = false
} else {
router.UseH2C = true
}*/
setupApi(cfg, router, version)