about summary refs log tree commit diff
path: root/config/environments
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-01-10 14:43:38 +0100
committerClaire <claire.github-309c@sitedethib.com>2023-01-10 14:43:38 +0100
commita7bf439cfd12ec44c5da9d51e501e51fdfc12b54 (patch)
tree5c211e2d230afa698ed4cc081c076251817b0d8d /config/environments
parentfdabfb9d0eea00e601b25fe5b199f72fb01f54a3 (diff)
parentcff7d967f97b5119f9cf68f84973a8e36ec9d7c6 (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'config/environments')
-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 650dffa8b..bc3bff609 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -139,7 +139,7 @@ Rails.application.configure do
     'X-XSS-Protection'       => '0',
     'Permissions-Policy'     => 'interest-cohort=()',
     'X-Clacks-Overhead'      => 'GNU Natalie Nguyen',
-    'Referrer-Policy'        => 'no-referrer',
+    'Referrer-Policy'        => 'same-origin',
   }
 
   config.x.otp_secret = ENV.fetch('OTP_SECRET')