- Added an HttpFactory and beginning the removal of old annotations from Notes

This commit is contained in:
mcndave committed 2023-11-03 16:28:31 +00:00
1 parent 7e92391113
commit 08c27e38b0
10 files changed
+143 -52

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ return [
CronardMiddleware::class => function($c) {
$cronardMiddleware = new CronardMiddleware($c, getenv('CRON_KEY'), function() : ResponseInterface {
return new HtmlResponse(sprintf("%s - cron task begin...", date('Y-m-d H:i:s')));
}, [], $c->get(TaskFetcher::class));
}, []);
return $cronardMiddleware->fromFile(getenv("META_PATH")."/crontab.php")->fromAnnotations($c->get(TaskFetcher::class));
},