Skip to content

Commit

Permalink
Merge pull request #15739 from LoganBooker/LoganBooker-AVIF-mimetype-…
Browse files Browse the repository at this point in the history
…patch

Add AVIF MIME type support to mimetype definitions
  • Loading branch information
AUTOMATIC1111 authored Jun 8, 2024
2 parents 1a7ffa2 + f7e349c commit debc6dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@

# Likewise, add explicit content-type header for certain missing image types
mimetypes.add_type('image/webp', '.webp')
mimetypes.add_type('image/avif', '.avif')

if not cmd_opts.share and not cmd_opts.listen:
# fix gradio phoning home
Expand Down

0 comments on commit debc6dd

Please sign in to comment.