TESTING - Disable all api queries
This commit is contained in:
parent
9d8b96cb36
commit
5e113bafc0
@ -92,6 +92,7 @@ class Api::BaseController < ApplicationController
|
||||
end
|
||||
|
||||
def set_cache_headers
|
||||
render json: []
|
||||
response.headers['Cache-Control'] = 'no-cache, no-store, max-age=0, must-revalidate'
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user