diff options
author | beatrix-bitrot <beatrix.bitrot@gmail.com> | 2018-01-06 18:49:03 +0000 |
---|---|---|
committer | beatrix-bitrot <beatrix.bitrot@gmail.com> | 2018-01-06 18:49:03 +0000 |
commit | b75a1ce326908392ad833ac71709263f0d0a12d5 (patch) | |
tree | 7823df1aef634cb4f27d065e765bf8faeb63ad34 | |
parent | d442cfa65cd59b1309bc6a22755acf944d7fea60 (diff) |
tighten csp
-rw-r--r-- | config/environments/production.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index f7cb4b08a..a691ef873 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -95,7 +95,7 @@ Rails.application.configure do 'X-Frame-Options' => 'DENY', 'X-Content-Type-Options' => 'nosniff', 'X-XSS-Protection' => '1; mode=block', - 'Content-Security-Policy' => "frame-ancestors 'none'; object-src 'none'; script-src 'self' https://dev-static.glitch.social 'unsafe-inline'; base-uri 'none';" , + 'Content-Security-Policy' => "frame-ancestors 'none'; object-src 'none'; script-src 'self' https://dev-static.glitch.social ; base-uri 'none';" , 'Referrer-Policy' => 'no-referrer, strict-origin-when-cross-origin', 'Strict-Transport-Security' => 'max-age=63072000; includeSubDomains; preload', 'X-Clacks-Overhead' => 'GNU Natalie Nguyen' |