summaryrefslogtreecommitdiffstats
path: root/config/security/securityConfig.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/security/securityConfig.go')
-rw-r--r--config/security/securityConfig.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/security/securityConfig.go b/config/security/securityConfig.go
index 66e89fb97..f7d2beac8 100644
--- a/config/security/securityConfig.go
+++ b/config/security/securityConfig.go
@@ -88,6 +88,9 @@ type HTTP struct {
// HTTP methods to allow.
Methods Whitelist `json:"methods"`
+
+ // Media types where the Content-Type in the response is used instead of resolving from the file content.
+ MediaTypes Whitelist `json:"mediaTypes"`
}
// ToTOML converts c to TOML with [security] as the root.