Created
February 9, 2015 15:04
-
-
Save aishek/692ec6c4e28cd55fcbe4 to your computer and use it in GitHub Desktop.
Yandex.Metrika webvisor RoR 4 fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/environments/production.rb | |
MyRails4::Application.configure do | |
# ... | |
config.action_dispatch.default_headers = { | |
'X-XSS-Protection' => '1; mode=block', | |
'X-Content-Type-Options' => 'nosniff' | |
} | |
# ... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment