]>
cat aescling's git repositories - mastodon.git/blob - app/controllers/well_known/nodeinfo_controller.rb
1 # frozen_string_literal: true
4 class NodeInfoController
< ActionController
::Base
7 before_action
{ response
.headers
['Vary'] = 'Accept' }
10 expires_in
3.days
, public
: true
11 render_with_cache json
: {}, serializer
: NodeInfo
::DiscoverySerializer, adapter
: NodeInfo
::Adapter, expires_in
: 3.days
, root
: 'nodeinfo'
15 expires_in
30.minutes
, public
: true
16 render_with_cache json
: {}, serializer
: NodeInfo
::Serializer, adapter
: NodeInfo
::Adapter, expires_in
: 30.minutes
, root
: 'nodeinfo'
This page took 0.0828 seconds and 4 git commands to generate.