mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-26 13:43:47 +03:00
encode: Add application/wasm*
to the default content types (#5869)
This commit is contained in:
parent
fa5a579b60
commit
e0aaefab80
2 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,7 @@ encode gzip zstd {
|
|||
header Content-Type application/xhtml+xml*
|
||||
header Content-Type application/atom+xml*
|
||||
header Content-Type application/rss+xml*
|
||||
header Content-Type application/wasm*
|
||||
header Content-Type image/svg+xml*
|
||||
}
|
||||
}
|
||||
|
@ -47,6 +48,7 @@ encode {
|
|||
"application/xhtml+xml*",
|
||||
"application/atom+xml*",
|
||||
"application/rss+xml*",
|
||||
"application/wasm*",
|
||||
"image/svg+xml*"
|
||||
]
|
||||
},
|
||||
|
|
|
@ -93,6 +93,7 @@ func (enc *Encode) Provision(ctx caddy.Context) error {
|
|||
"application/xhtml+xml*",
|
||||
"application/atom+xml*",
|
||||
"application/rss+xml*",
|
||||
"application/wasm*",
|
||||
"image/svg+xml*",
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue