mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 14:57:09 +00:00
Remove Windows workarounds from frontend (#64343)
This commit is contained in:
parent
ef1e56dfe1
commit
64bcd60974
@ -5,7 +5,6 @@ from collections.abc import Iterator
|
|||||||
from functools import lru_cache
|
from functools import lru_cache
|
||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
import mimetypes
|
|
||||||
import os
|
import os
|
||||||
import pathlib
|
import pathlib
|
||||||
from typing import Any, TypedDict, cast
|
from typing import Any, TypedDict, cast
|
||||||
@ -29,12 +28,6 @@ from homeassistant.loader import async_get_integration, bind_hass
|
|||||||
|
|
||||||
from .storage import async_setup_frontend_storage
|
from .storage import async_setup_frontend_storage
|
||||||
|
|
||||||
# Fix mimetypes for borked Windows machines
|
|
||||||
# https://github.com/home-assistant/frontend/issues/3336
|
|
||||||
mimetypes.add_type("text/css", ".css")
|
|
||||||
mimetypes.add_type("application/javascript", ".js")
|
|
||||||
|
|
||||||
|
|
||||||
DOMAIN = "frontend"
|
DOMAIN = "frontend"
|
||||||
CONF_THEMES = "themes"
|
CONF_THEMES = "themes"
|
||||||
CONF_THEMES_MODES = "modes"
|
CONF_THEMES_MODES = "modes"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user