mirror of
https://github.com/neocities/neocities.git
synced 2025-07-04 18:13:28 +02:00
scrub pdf/txt files and non-subdomain search results
This commit is contained in:
parent
40bef7d125
commit
afef407744
2 changed files with 2 additions and 2 deletions
|
@ -138,7 +138,7 @@ get '/browse/search' do
|
|||
cx: $config['google_custom_search_cx'],
|
||||
safe: 'active',
|
||||
start: @start,
|
||||
q: Rack::Utils.escape(params[:q])
|
||||
q: Rack::Utils.escape(params[:q]) + ' -filetype:pdf -filetype:txt site:*.neocities.org'
|
||||
})
|
||||
|
||||
@items = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue