mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-06 15:15:05 +08:00
MIME type text/css (#16406)
This commit is contained in:
parent
c2bc187ce7
commit
65423d2b33
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user