diff --git a/cmd/web/handlers.go b/cmd/web/handlers.go index 371af77..91199bc 100644 --- a/cmd/web/handlers.go +++ b/cmd/web/handlers.go @@ -84,6 +84,7 @@ func (app *application) siteEntryCreate(w http.ResponseWriter, r *http.Request) func (app *application) nextSiteEntry(w http.ResponseWriter, r *http.Request) { ref := app.cleanUrl(r.Referer()) refSite, err := app.siteEntries.GetByUrl(ref) + app.infoLog.Printf("REFERER %s\n", ref) if err != nil { app.serverError(w, err) return