hugo/docs/config/_default/security.toml
2022-01-12 08:16:35 +01:00

13 lines
214 B
TOML

enableInlineShortcodes = false
[exec]
allow = ['^go$']
osEnv = ['^PATH$']
[funcs]
getenv = ['^HUGO_', '^REPOSITORY_URL$', '^BRANCH$']
[http]
methods = ['(?i)GET|POST']
urls = ['.*']