From edecdc3ad66962460c818e3b1cdc19f90d2d8e16 Mon Sep 17 00:00:00 2001 From: Demian Date: Sat, 6 Jun 2026 19:02:33 +0200 Subject: [PATCH] Fix security allowContent to allow all text/* types --- config.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 596bb8c..33e9cf9 100644 --- a/config.toml +++ b/config.toml @@ -48,7 +48,8 @@ darkTheme = "catppuccin-macchiato" # Theme for dark mode lightTheme = "catppuccin-frappe" # Theme for light mode [security] -allowContent = [] +# Allow all content types (default denies text/html which is needed for search.html) +allowContent = ['^text/'] [outputs] home = ["HTML", "JSON"]