mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 19:22:32 +00:00
MIME type text/css (#16406)
This commit is contained in:
@@ -44,6 +44,9 @@ mimetypes.add_type('application/javascript', '.mjs')
|
|||||||
mimetypes.add_type('image/webp', '.webp')
|
mimetypes.add_type('image/webp', '.webp')
|
||||||
mimetypes.add_type('image/avif', '.avif')
|
mimetypes.add_type('image/avif', '.avif')
|
||||||
|
|
||||||
|
# override potentially incorrect mimetypes
|
||||||
|
mimetypes.add_type('text/css', '.css')
|
||||||
|
|
||||||
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
|
||||||
gradio.utils.version_check = lambda: None
|
gradio.utils.version_check = lambda: None
|
||||||
|
Reference in New Issue
Block a user