From 84e7a8e2a688ea115f2de1584f948039c8945068 Mon Sep 17 00:00:00 2001 From: Ruben Date: Fri, 3 Oct 2025 12:39:25 +0200 Subject: [PATCH] Remove docs-styles path handling from static file routing --- app/static.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/static.php b/app/static.php index cc41c6f..37a354b 100644 --- a/app/static.php +++ b/app/static.php @@ -16,8 +16,6 @@ if (str_starts_with($file, 'styles/')) { $filePath = $customBasePath . 'custom/' . $file; } elseif (str_starts_with($file, 'default-styles/')) { $filePath = $basePath . 'default/' . substr($file, 15); // Remove 'default-styles/' prefix -} elseif (str_starts_with($file, 'docs-styles/')) { - $filePath = $basePath . 'default/docs/styles/' . substr($file, 12); // Remove 'docs-styles/' prefix } else { http_response_code(404); exit;