Fix security allowContent to allow all text/* types
Build & Deploy / deploy (push) Failing after 32s
Build & Deploy / deploy (push) Failing after 32s
This commit is contained in:
+2
-1
@@ -48,7 +48,8 @@ darkTheme = "catppuccin-macchiato" # Theme for dark mode
|
|||||||
lightTheme = "catppuccin-frappe" # Theme for light mode
|
lightTheme = "catppuccin-frappe" # Theme for light mode
|
||||||
|
|
||||||
[security]
|
[security]
|
||||||
allowContent = []
|
# Allow all content types (default denies text/html which is needed for search.html)
|
||||||
|
allowContent = ['^text/']
|
||||||
|
|
||||||
[outputs]
|
[outputs]
|
||||||
home = ["HTML", "JSON"]
|
home = ["HTML", "JSON"]
|
||||||
|
|||||||
Reference in New Issue
Block a user