feat: use full location

This commit is contained in:
Kevin Franklin Kim 2024-03-12 15:36:53 +01:00
parent 5125125257
commit 6246b38719
No known key found for this signature in database

View File

@ -80,7 +80,7 @@ func MiddlewarDocument(next ClientHandler) ClientHandler {
if referrer, err := url.Parse(r.Referer()); err != nil {
return err
} else {
location := referrer.RequestURI()
location := referrer.String()
event.DocumentLocation = &location
event.DocumentHostname = &referrer.Host
}