mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-09 15:17:08 +08:00
Fix incorrect Content-Type for WebP images
This commit is contained in:
parent
af93c8d1ee
commit
d2757bf29c
@ -150,7 +150,8 @@ class PromptServer():
|
||||
PromptServer.instance = self
|
||||
|
||||
mimetypes.init()
|
||||
mimetypes.types_map['.js'] = 'application/javascript; charset=utf-8'
|
||||
mimetypes.add_type('application/javascript; charset=utf-8', '.js')
|
||||
mimetypes.add_type('image/webp', '.webp')
|
||||
|
||||
self.user_manager = UserManager()
|
||||
self.model_file_manager = ModelFileManager()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user