Skip to content
Snippets Groups Projects
Commit ff229aa9 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix #141 - Add "Server: Mastodon" header to responses

parent 1c17b932
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,7 @@ module Mastodon
end
config.action_dispatch.default_headers = {
'Server' => 'Mastodon',
'X-Frame-Options' => 'DENY',
'X-Content-Type-Options' => 'nosniff',
'X-XSS-Protection' => '1; mode=block'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment