mirror of
https://codeberg.org/git-pages/git-pages.git
synced 2026-08-18 01:46:03 +00:00
Default to allowed-custom-headers = ["X-Clacks-Overhead"].
X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
+1
-1
@@ -112,7 +112,7 @@ type LimitsConfig struct {
|
||||
// List of allowed custom headers. Header name must be in the MIME canonical form,
|
||||
// e.g. `Foo-Bar`. Setting this option permits including this custom header in `_headers`,
|
||||
// unless it is fundamentally unsafe.
|
||||
AllowedCustomHeaders []string `toml:"allowed-custom-headers" default:"[]"`
|
||||
AllowedCustomHeaders []string `toml:"allowed-custom-headers" default:"[\"X-Clacks-Overhead\"]"`
|
||||
}
|
||||
|
||||
type ObservabilityConfig struct {
|
||||
|
||||
Reference in New Issue
Block a user