Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions config/production/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ title = "Mendix Documentation"
mediaType = "application/json" # file output type
notAlternative = true # excludes from looping over .AlternativeOutputFormats page variable

# Hugo 0.161.0 Introduces an error from browserslist-stats.json which is triggered on a production build.
# development build is fine, so probably related to algolia build
# see discussion here: https://discourse.gohugo.io/t/security-error-with-the-new-0-161-0-security-for-postcss/57186
# Add new "allowread" setting
[security]
[security.node]
[security.node.permissions]
allowRead = ['.', '/**/browserslist-stats.json']