about summary refs log tree commit diff
path: root/app/controllers/api/base_controller.rb
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2022-11-28 16:41:29 -0600
committerStarfall <us@starfall.systems>2022-11-28 16:41:29 -0600
commitcb9dad90b01c9f53d1910cf128eb22200bdb9884 (patch)
tree1935d74f49853ed371e36cfac2d44ac33d2e8a2e /app/controllers/api/base_controller.rb
parentc3c3b6953f37462f26f011b6c6cbd1655d5dcbea (diff)
parent1a7aa37b60769a10077c585fa76ec848b6866d9a (diff)
Merge remote-tracking branch 'glitch/main'
Diffstat (limited to 'app/controllers/api/base_controller.rb')
-rw-r--r--app/controllers/api/base_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/base_controller.rb b/app/controllers/api/base_controller.rb
index 665425f29..defef0656 100644
--- a/app/controllers/api/base_controller.rb
+++ b/app/controllers/api/base_controller.rb
@@ -129,7 +129,7 @@ class Api::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 disallow_unauthenticated_api_access?