collect submit source

This commit is contained in:
Robin Olsen
2026-03-24 12:32:57 +01:00
parent fc10321430
commit 6808ed3bbe
14 changed files with 300 additions and 63 deletions

View File

@@ -90,11 +90,21 @@ func shouldLogWebAction(path string) bool {
if strings.HasPrefix(path, "/assets/") {
return false
}
if strings.HasPrefix(path, "/.well-known/") {
return false
}
switch path {
case "/status":
return false
case "/status/modal":
return false
case "/favicon.ico":
return false
default:
if strings.HasSuffix(path, "/dependencies") || strings.HasSuffix(path, "/dependencies/options") {
return false
}
return true
}
}