aboutsummaryrefslogtreecommitdiff
path: root/app/Routes.php
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2023-06-05 18:03:11 -0400
committerThedro Neely <thedroneely@gmail.com>2023-06-05 18:03:11 -0400
commit1cb3e3c866bbf16f020ed37080d4f3590f90806b (patch)
treed898008377697f5aa2b3f40683894bbb6a1fa759 /app/Routes.php
parent988eb9b2c6b560c4fa732c6fc18a8eb23e6422a9 (diff)
downloadthedroneely.com-1cb3e3c866bbf16f020ed37080d4f3590f90806b.tar.gz
thedroneely.com-1cb3e3c866bbf16f020ed37080d4f3590f90806b.tar.bz2
thedroneely.com-1cb3e3c866bbf16f020ed37080d4f3590f90806b.zip
bootstrap/Bootstrap: Clean up
Diffstat (limited to 'app/Routes.php')
-rw-r--r--app/Routes.php7
1 files changed, 6 insertions, 1 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 @@
<?php
+
+$router = new Router;
+
/**
* Public routes
*/
+
$router->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');