Expose RSS feed

Though actually its the json feed 🤫
This commit is contained in:
Jonny Barnes 2023-12-19 17:12:49 +00:00
parent d264b8bdc3
commit ba9330cdf1
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
9 changed files with 41 additions and 2 deletions

View file

@ -102,7 +102,7 @@ class FeedsController extends Controller
*/
public function notesJson(): array
{
$notes = Note::latest()->with('media')->take(20)->get();
$notes = Note::latest()->with('media', 'place')->take(20)->get();
$data = [
'version' => 'https://jsonfeed.org/version/1',
'title' => 'The JSON Feed for ' . config('user.display_name') . 's notes',