mirror of
https://github.com/home-assistant/core
synced 2024-10-07 10:13:38 +02: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
|
||||
import json
|
||||
import logging
|
||||
import mimetypes
|
||||
import os
|
||||
import pathlib
|
||||
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
|
||||
|
||||
# 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"
|
||||
CONF_THEMES = "themes"
|
||||
CONF_THEMES_MODES = "modes"
|
||||
|
Loading…
Reference in New Issue
Block a user