1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 08:14:10 +00:00

Update DiscoverController, limit trending api to local posts

This commit is contained in:
Daniel Supernault 2021-01-12 22:04:25 -07:00
parent 53322a9378
commit 74ba326adb
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -192,6 +192,7 @@ class DiscoverController extends Controller
'created_at'
)
->where('id', '>', $min_id)
->whereNull('uri')
->whereScope('public')
->whereIn('type', [
'photo',