Hardcode webp content-type

This commit is contained in:
christian-byrne 2024-07-18 15:46:35 -07:00
parent dff9796512
commit c83fb8a9c2

View File

@ -44,7 +44,9 @@ input_directory = os.path.join(os.path.dirname(os.path.realpath(__file__)), "inp
user_directory = os.path.join(os.path.dirname(os.path.realpath(__file__)), "user") user_directory = os.path.join(os.path.dirname(os.path.realpath(__file__)), "user")
filename_list_cache = {} filename_list_cache = {}
extension_mimetypes_cache = {} extension_mimetypes_cache = {
"webp" : "image",
}
if not os.path.exists(input_directory): if not os.path.exists(input_directory):
try: try: