1
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:
Erik Montnemery 2022-01-18 09:05:00 +01:00 committed by GitHub
parent ef1e56dfe1
commit 64bcd60974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"