From d3f490bcc3a2cfa57acbec79d45cfe9e61196844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Tue, 30 May 2023 13:08:26 +0200 Subject: [PATCH] Adjust regex to allow woff2 files to be served (#4321) --- supervisor/api/middleware/security.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor/api/middleware/security.py b/supervisor/api/middleware/security.py index 1afca1476..255790824 100644 --- a/supervisor/api/middleware/security.py +++ b/supervisor/api/middleware/security.py @@ -27,7 +27,7 @@ _CORE_VERSION: Final = AwesomeVersion("2023.3.4") # fmt: off _CORE_FRONTEND_PATHS: Final = ( - r"|/app/.*\.(?:js|gz|json|map)" + r"|/app/.*\.(?:js|gz|json|map|woff2)" r"|/(store/)?addons/" + RE_SLUG + r"/(logo|icon)" )