Skip to content

Commit

Permalink
Hardcode webp content-type
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-byrne committed Jul 18, 2024
1 parent dff9796 commit c83fb8a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion folder_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
user_directory = os.path.join(os.path.dirname(os.path.realpath(__file__)), "user")

filename_list_cache = {}
extension_mimetypes_cache = {}
extension_mimetypes_cache = {
"webp" : "image",
}

if not os.path.exists(input_directory):
try:
Expand Down

0 comments on commit c83fb8a

Please sign in to comment.