FIX blank internal pages (#164)

This commit is contained in:
Hoernschen 2024-02-25 19:47:12 +01:00
parent 7e80ade24b
commit f74f71cac1
No known key found for this signature in database
GPG key ID: 37591FAF4E6D3462
4 changed files with 61 additions and 33 deletions

View file

@ -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)