From 1f9024763d9224c4cd9a181bac27e6b9f12ad672 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Wed, 18 Sep 2024 14:14:53 -0400 Subject: refactor --- src/web/index.php | 66 +++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 42 insertions(+), 24 deletions(-) (limited to 'src/web/index.php') diff --git a/src/web/index.php b/src/web/index.php index eedf913..51ec652 100644 --- a/src/web/index.php +++ b/src/web/index.php @@ -1,39 +1,57 @@ handle_request(); + $router = new Router(); + $router->handle_req(); }; __init(); -- cgit v1.2.3-freya