aboutsummaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-04-08 13:52:35 +0000
committerOmar Polo <op@omarpolo.com>2022-04-08 13:52:35 +0000
commit54203115cd0121ee0e44f5e58202a4d8054b9c09 (patch)
treed28758a8d5ce0dd1448ba2e35e30de6d9bbe6b2d /parse.y
parent9b6499535963c128de4a5a891a70b2636a54dad1 (diff)
don't load the built-in list when using `types'
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index ed14810..ca3fb43 100644
--- a/parse.y
+++ b/parse.y
@@ -475,7 +475,9 @@ fastcgi : SPAWN string {
}
;
-types : TYPES '{' optnl mediaopts_l '}'
+types : TYPES '{' optnl mediaopts_l '}' {
+ conf.mime.skip_defaults = 1;
+ }
;
mediaopts_l : mediaopts_l mediaoptsl nl