mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 08:46:41 +01:00
Improve default HTTP headers
This commit is contained in:
parent
bb6001ee27
commit
d6f3a86908
@ -17,7 +17,12 @@ module Projekteuler
|
||||
# the framework and any gems in your application.
|
||||
|
||||
config.action_dispatch.default_headers = {
|
||||
'X-Frame-Options' => 'DENY'
|
||||
'X-Frame-Options' => 'DENY',
|
||||
'X-XSS-Protection' => '1; mode=block',
|
||||
'X-Content-Type-Options' => 'nosniff',
|
||||
'X-Download-Options' => 'noopen',
|
||||
'X-Permitted-Cross-Domain-Policies' => 'none',
|
||||
'Referrer-Policy' => 'strict-origin-when-cross-origin'
|
||||
}
|
||||
|
||||
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user