From 75b3778dccccddb5cc90b2b4e0a3f958826ad8ba Mon Sep 17 00:00:00 2001 From: winter Date: Wed, 15 Jan 2025 20:33:38 +0000 Subject: implement home timeline --- routes/public_timelines.php | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 routes/public_timelines.php (limited to 'routes/public_timelines.php') diff --git a/routes/public_timelines.php b/routes/public_timelines.php deleted file mode 100644 index b60f141..0000000 --- a/routes/public_timelines.php +++ /dev/null @@ -1,15 +0,0 @@ -mount('/feed/global', function (array $args) { - $items = (new GlobalTimeline())->getPage(); - render_template('timeline', ['kind' => 'global', 'items' => $items]); -}); - -Router::getInstance()->mount('/feed/local', function (array $args) { - $items = (new LocalTimeline())->getPage(); - render_template('timeline', ['kind' => 'local', 'items' => $items]); -}); \ No newline at end of file -- cgit v1.3