mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 14:26:58 +00:00
add gzip support
This commit is contained in:
parent
16a8d5d575
commit
fac052f052
3 changed files with 43 additions and 11 deletions
|
@ -9,11 +9,6 @@ import (
|
|||
"codeberg.org/codeberg/pages/server/utils"
|
||||
)
|
||||
|
||||
func SetupServer(handler http.HandlerFunc) http.HandlerFunc {
|
||||
// TODO: enagle gzip compression
|
||||
return handler
|
||||
}
|
||||
|
||||
func SetupHTTPACMEChallengeServer(challengeCache cache.SetGetKey) http.HandlerFunc {
|
||||
challengePath := "/.well-known/acme-challenge/"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue