This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Fix missing default headers
closed-social-glitch-2
Eugen Rochko
7 years ago
parent
9467b900a2
commit
a59d10d3df
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
config/application.rb
+ 3
- 1
config/application.rb
View File
@ -38,7 +38,9 @@ module Mastodon
end
config
.
action_dispatch
.
default_headers
=
{
'X-Frame-Options'
=
>
'DENY'
'X-Frame-Options'
=
>
'DENY'
,
'X-Content-Type-Options'
=
>
'nosniff'
,
'X-XSS-Protection'
=
>
'1; mode=block'
}
end
end
Write
Preview
Loading…
Cancel
Save