about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorbeatrix <beatrix.bitrot@gmail.com>2018-02-03 14:49:00 -0500
committerGitHub <noreply@github.com>2018-02-03 14:49:00 -0500
commitfa361ccc5e41a4a328bb1c2bb42de81c306aa75b (patch)
tree6e13d4cc20e082343aa21f91875913a1d2aaa484 /config
parent4c1fd9a19c779fa6e7d74513c61f37ce05a841b3 (diff)
change referrer policy to same-origin
Diffstat (limited to 'config')
-rw-r--r--config/environments/production.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index a691ef873..8979bbeca 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -96,7 +96,7 @@ Rails.application.configure do
     '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'         => 'no-referrer, strict-origin-when-cross-origin',
+    'Referrer-Policy'         => 'same-origin',
     'Strict-Transport-Security' => 'max-age=63072000; includeSubDomains; preload',
     'X-Clacks-Overhead' => 'GNU Natalie Nguyen'