From 08032aab10f0e1429d25ecae1acf6c40d63e9ff4 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sat, 14 Feb 2026 09:20:40 -0800 Subject: security: add HTTP security headers (fixing NK-7xuajb) --- internal/crawler/crawler_test.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal/crawler') diff --git a/internal/crawler/crawler_test.go b/internal/crawler/crawler_test.go index e0c4c6b..a8a9c9c 100644 --- a/internal/crawler/crawler_test.go +++ b/internal/crawler/crawler_test.go @@ -8,10 +8,15 @@ import ( "testing" "adammathes.com/neko/config" + "adammathes.com/neko/internal/safehttp" "adammathes.com/neko/models" "adammathes.com/neko/models/feed" ) +func init() { + safehttp.AllowLocal = true +} + func setupTestDB(t *testing.T) { t.Helper() config.Config.DBFile = ":memory:" -- cgit v1.2.3