Remove docs-styles path handling from static file routing
This commit is contained in:
parent
0f9c8dabb5
commit
84e7a8e2a6
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue