about summary refs log tree commit diff
path: root/config/environments
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-08-22 17:22:34 +0200
committerThibG <thib@sitedethib.com>2018-08-22 20:39:33 +0200
commite7a72439f1baa90f66e9333cfca72ed2079d2d12 (patch)
tree6a9eb51efa6061f5ad6e9bc81a336480cd0812be /config/environments
parentf34616eec19eccacbd42e774ef94453c350d875b (diff)
Move CSP headers to the appropriate Rails configuration
Also drop dev-static.glitch.social reference.
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 16c0ef941..a2f5e6864 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -99,7 +99,6 @@ 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 ; base-uri 'none';" , 
     'Referrer-Policy'         => 'same-origin',
     'Strict-Transport-Security' => 'max-age=63072000; includeSubDomains; preload',
     'X-Clacks-Overhead' => 'GNU Natalie Nguyen'