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
1 changed files with 1 additions and 0 deletions

View File

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