mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: add 'noindex' header to rss feed responses.
This commit is contained in:
@@ -300,6 +300,7 @@ RSpec.describe ListController do
|
||||
get "/latest.rss"
|
||||
expect(response.status).to eq(200)
|
||||
expect(response.media_type).to eq('application/rss+xml')
|
||||
expect(response.headers['X-Robots-Tag']).to eq('noindex')
|
||||
end
|
||||
|
||||
it 'renders links correctly with subfolder' do
|
||||
|
||||
Reference in New Issue
Block a user