mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 12:58:06 +01:00
Fix #141 - Add "Server: Mastodon" header to responses
This commit is contained in:
parent
1c17b932fe
commit
ff229aa978
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue