about summary refs log tree commit diff
path: root/app/controllers/settings
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-11-16 08:30:00 +0100
committerClaire <claire.github-309c@sitedethib.com>2022-11-16 08:30:00 +0100
commit1901829f9ab20cecd0e011d73c1af1e9a9eb6c40 (patch)
tree541e664f02e70cf3e062477a86f412e6ea3d73d8 /app/controllers/settings
parenteb675af0fb0d73b697e066100c4faf066c0baff7 (diff)
parent4d85c27d1adc83aadd219767dbdc7e17b05230b0 (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Conflicts:
- `config/initializers/content_security_policy.rb`:
  Our config file is pretty different from upstream.
  Upstream changed CSP directive `script-src` to include
  `wasm-unsafe-eval` instead of `unsafe-eval`, which we
  did not include.
  Added `wasm-unsafe-eval` to `script-src` to fix
  execution of the OCR web worker.
- `package.json`:
  Upstream updated a dependency (`array-includes`) textually
  adjacent to a glitch-soc-only dependency (`atrament`).
  Updated `array-includes` as upstream did.
Diffstat (limited to 'app/controllers/settings')
-rw-r--r--app/controllers/settings/base_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings/base_controller.rb b/app/controllers/settings/base_controller.rb
index dee3922d8..bf17b918c 100644
--- a/app/controllers/settings/base_controller.rb
+++ b/app/controllers/settings/base_controller.rb
@@ -19,7 +19,7 @@ class Settings::BaseController < ApplicationController
   end
 
   def set_cache_headers
-    response.headers['Cache-Control'] = 'no-cache, no-store, max-age=0, must-revalidate'
+    response.headers['Cache-Control'] = 'private, no-store'
   end
 
   def require_not_suspended!