Add endpoint for getting a feed via it's URL, as well as caching the result
This commit is contained in:
1 parent
70e78bcf42
commit
78ed53d529
5 files changed
+55
-31
No files matched your search
@@ -23,6 +23,8 @@ $app->get("/", [SampleController::class, 'get']);
|
||||
|
||||
$app->get('/feed', [FeedController::class, 'get']);
|
||||
|
||||
$app->get('/feed/{id}', [FeedController::class, 'get_feed']);
|
||||
|
||||
$app->addErrorMiddleware(true, true, true);
|
||||
|
||||
$app->run();
|
||||
Reference in new issue
Block a user