1
0
Fork 0
forked from gitea/nas

Merge commit '36631e40cc' into kb_migration

This commit is contained in:
KMY 2023-04-26 11:39:42 +09:00
commit 9461db713b
40 changed files with 165 additions and 36 deletions

View file

@ -2,7 +2,7 @@
class Api::V2::InstancesController < Api::V1::InstancesController
def show
expires_in 3.minutes, public: true
cache_even_if_authenticated!
render_with_cache json: InstancePresenter.new, serializer: REST::InstanceSerializer, root: 'instance'
end
end