mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
FIX blank internal pages (#164)
This commit is contained in:
parent
7e80ade24b
commit
f74f71cac1
4 changed files with 61 additions and 33 deletions
|
@ -26,6 +26,7 @@ func Handler(
|
|||
dnsLookupCache, canonicalDomainCache, redirectsCache cache.ICache,
|
||||
) http.HandlerFunc {
|
||||
return func(w http.ResponseWriter, req *http.Request) {
|
||||
log.Info().Msg("\n----------------------------------------------------------")
|
||||
log := log.With().Strs("Handler", []string{req.Host, req.RequestURI}).Logger()
|
||||
ctx := context.New(w, req)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue