mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-01 12:25:06 +08:00
Merge pull request #15739 from LoganBooker/LoganBooker-AVIF-mimetype-patch
Add AVIF MIME type support to mimetype definitions
This commit is contained in:
commit
debc6dddeb
@ -41,6 +41,7 @@ mimetypes.add_type('application/javascript', '.js')
|
|||||||
|
|
||||||
# Likewise, add explicit content-type header for certain missing image types
|
# Likewise, add explicit content-type header for certain missing image types
|
||||||
mimetypes.add_type('image/webp', '.webp')
|
mimetypes.add_type('image/webp', '.webp')
|
||||||
|
mimetypes.add_type('image/avif', '.avif')
|
||||||
|
|
||||||
if not cmd_opts.share and not cmd_opts.listen:
|
if not cmd_opts.share and not cmd_opts.listen:
|
||||||
# fix gradio phoning home
|
# fix gradio phoning home
|
||||||
|
Loading…
Reference in New Issue
Block a user