From bc2a1889a4eb337c11d5b8d8a453a6bf4a982965 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 26 Feb 2026 14:09:44 -0500 Subject: fix .htc polyfill loading --- src/web/lib/hooks.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src') diff --git a/src/web/lib/hooks.php b/src/web/lib/hooks.php index 70853e1..a688069 100644 --- a/src/web/lib/hooks.php +++ b/src/web/lib/hooks.php @@ -1,6 +1,20 @@ req['uri_str'] ?? ''; + $file = basename($uri_str); + if (str_ends_with($file, '.htc')) + load_htc($file); } function CRIMSON_error_hook(?array $req, int $code): never { -- cgit v1.2.3-freya