Add endpoint for getting a feed via it's URL, as well as caching the result

This commit is contained in:
Lewis Dale committed 2024-09-20 14:46:20 +01:00
1 parent 70e78bcf42
commit 78ed53d529
5 files changed
+55 -31

No files matched your search

+2
View File
@@ -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();