This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix missing default headers
master
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