forked from laurens/fediversity_website
22 lines
508 B
TOML
22 lines
508 B
TOML
# Configuratie tbv extra beveiliging en toegestane functies tijdens render en testen
|
|
|
|
enableInlineShortcodes = false
|
|
|
|
[exec]
|
|
allow = [
|
|
'^dart-sass-embedded$',
|
|
'^go$',
|
|
'^npx$',
|
|
'^postcss$'
|
|
]
|
|
osEnv = ['(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+|GIT_EXEC_PATH|LD_LIBRARY_PATH|npm_config_(cache|init_module|userconfig)|pandoc_datadir|PYTHONHOME|RUBYLIB|SNAP)$']
|
|
|
|
[funcs]
|
|
getenv = ['^HUGO_', '^CI$']
|
|
|
|
[http]
|
|
methods = ['(?i)GET|POST']
|
|
urls = ['.*']
|
|
|
|
# EOF
|