This commit is contained in:
@@ -15,7 +15,7 @@ func TestDashboardAccessFilterSkipsNoisePaths(t *testing.T) {
|
||||
if isDashboardAccess(AccessEntry{Path: "/favicon.ico"}) {
|
||||
t.Fatal("expected favicon to be excluded")
|
||||
}
|
||||
if isDashboardAccess(AccessEntry{Path: "/fonu-errors/error.png"}) {
|
||||
if isDashboardAccess(AccessEntry{Path: "/havline-errors/error.png"}) {
|
||||
t.Fatal("expected error asset to be excluded")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -270,7 +270,7 @@ func isDashboardAccess(entry AccessEntry) bool {
|
||||
case "/favicon.ico", "/robots.txt":
|
||||
return false
|
||||
}
|
||||
if strings.HasPrefix(entry.Path, "/fonu-errors/") {
|
||||
if strings.HasPrefix(entry.Path, "/havline-errors/") {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user