This commit is contained in:
2024-07-23 01:22:16 +02:00
parent 85d20e034a
commit 1bff7f46d7
9 changed files with 40 additions and 12 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ use Pecee\SimpleRouter\Handlers\EventHandler;
use Pecee\SimpleRouter\Event\EventArgument;
use Pecee\SimpleRouter\Route\ILoadableRoute;
use Pecee\SimpleRouter\Route\IGroupRoute;
use Config\Config;
use Khofmann\Config\Config;
// Router base path
$basePath = Config::getBasePath() . "api";
// Router event handler for prepending base path