This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
3
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Fix
#141
- Add "Server: Mastodon" header to responses
closed-social-glitch-2
Eugen Rochko
7 years ago
parent
1c17b932fe
commit
ff229aa978
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
config/application.rb
+ 1
- 0
config/application.rb
View File
@ -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'
Write
Preview
Loading…
Cancel
Save