mirror of
https://github.com/discourse/discourse-rewind.git
synced 2025-07-08 22:52:44 +00:00
when we active cache it should be private
This commit is contained in:
parent
5352c82052
commit
305b94f3a0
@ -7,7 +7,7 @@ module ::DiscourseRewind
|
||||
skip_before_action :preload_json, :check_xhr, :redirect_to_login_if_required, only: %i[show]
|
||||
|
||||
def show
|
||||
# expires_in 1.minute, public: true
|
||||
# expires_in 1.minute, public: false
|
||||
response.headers["X-Robots-Tag"] = "noindex"
|
||||
|
||||
render "show", layout: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user