Stuff
This commit is contained in:
1 parent
e6ad944f79
commit
657975324a
15 files changed
+190
-23
No files matched your search
@@ -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();
|
||||
Reference in new issue
Block a user