From 1cb3e3c866bbf16f020ed37080d4f3590f90806b Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Mon, 5 Jun 2023 18:03:11 -0400 Subject: bootstrap/Bootstrap: Clean up --- app/Routes.php | 7 ++++++- bootstrap/Bootstrap.php | 14 +------------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/app/Routes.php b/app/Routes.php index 28bcdc0..40320c7 100644 --- a/app/Routes.php +++ b/app/Routes.php @@ -1,7 +1,11 @@ get('', '../app/controllers/index.controller.php'); $router->get('contact', '../app/controllers/contact.controller.php'); $router->get('resume', '../app/controllers/resume.controller.php'); @@ -17,7 +21,8 @@ $router->post('upload', '../app/controllers/upload.controller.php'); $router->post('contact', '../app/controllers/contact.controller.php'); /** - * Api routes + * API routes */ + $router->post('api/v1/thumbnails', '../app/controllers/api/thumbnails.controller.php'); $router->post('api/v1/cache', '../app/controllers/api/cache.controller.php'); diff --git a/bootstrap/Bootstrap.php b/bootstrap/Bootstrap.php index 4e10f48..28b4371 100644 --- a/bootstrap/Bootstrap.php +++ b/bootstrap/Bootstrap.php @@ -1,25 +1,13 @@ toggle(); -- cgit v1.2.3