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:
parent
53322a9378
commit
74ba326adb
1 changed files with 1 additions and 0 deletions
|
@ -192,6 +192,7 @@ class DiscoverController extends Controller
|
|||
'created_at'
|
||||
)
|
||||
->where('id', '>', $min_id)
|
||||
->whereNull('uri')
|
||||
->whereScope('public')
|
||||
->whereIn('type', [
|
||||
'photo',
|
||||
|
|
Loading…
Reference in a new issue