From 072342808db6cc757199528c3393c64b9b0b6f0c Mon Sep 17 00:00:00 2001 From: Cerys Date: Mon, 27 Jan 2025 14:38:54 +0000 Subject: [PATCH] Update Router.php --- Routing/Router.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Routing/Router.php b/Routing/Router.php index 18f908d..54ec3d7 100644 --- a/Routing/Router.php +++ b/Routing/Router.php @@ -14,8 +14,9 @@ $requestElements = explode("/", trim($requestUri, "/")); switch($requestElements[0]) { - case "Static": case "favicon.ico": + case "API": + case "Static": default: return false; case "":