mirror of https://github.com/pixelfed/pixelfed.git
Update DiscoverController, limit trending api to local posts
This commit is contained in:
parent
53322a9378
commit
74ba326adb
|
@ -192,6 +192,7 @@ class DiscoverController extends Controller
|
|||
'created_at'
|
||||
)
|
||||
->where('id', '>', $min_id)
|
||||
->whereNull('uri')
|
||||
->whereScope('public')
|
||||
->whereIn('type', [
|
||||
'photo',
|
||||
|
|
Loading…
Reference in New Issue