This commit is contained in:
Lewis Dale committed 2024-09-17 21:52:08 +01:00
1 parent e6ad944f79
commit 657975324a
15 files changed
+190 -23

No files matched your search

+3
View File
@@ -1,5 +1,6 @@
<?php declare(strict_types=1);
use Lewisdale\App\Controllers\FeedController;
use Lewisdale\App\Controllers\SampleController;
use Slim\Views\TwigMiddleware;
@@ -18,6 +19,8 @@ $app->add('csrf');
$app->get("/", [SampleController::class, 'get']);
$app->get('/feed', [FeedController::class, 'get']);
$app->addErrorMiddleware(true, true, true);
$app->run();