aboutsummaryrefslogtreecommitdiffstats
path: root/internal/crawler
diff options
context:
space:
mode:
Diffstat (limited to 'internal/crawler')
-rw-r--r--internal/crawler/crawler_test.go5
1 files changed, 5 insertions, 0 deletions
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:"