mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
don't display browser crashing sites on browse site
This commit is contained in:
parent
814570801d
commit
b559ed98c0
1 changed files with 1 additions and 1 deletions
2
app.rb
2
app.rb
|
@ -182,7 +182,7 @@ get '/browse' do
|
|||
@current_page = @current_page.to_i
|
||||
@current_page = 1 if @current_page == 0
|
||||
|
||||
site_dataset = Site.filter(is_banned: false).filter(site_changed: true).paginate(@current_page, 300)
|
||||
site_dataset = Site.filter(is_banned: false, is_crashing: false).filter(site_changed: true).paginate(@current_page, 300)
|
||||
|
||||
case params[:sort_by]
|
||||
when 'hits'
|
||||
|
|
Loading…
Add table
Reference in a new issue