Support /.well-known/host-meta.json (#32206)
This commit is contained in:
parent
f0716368e6
commit
33d3ca7cf1
4 changed files with 55 additions and 14 deletions
|
@ -67,7 +67,7 @@ Rails.application.routes.draw do
|
|||
scope path: '.well-known' do
|
||||
scope module: :well_known do
|
||||
get 'oauth-authorization-server', to: 'oauth_metadata#show', as: :oauth_metadata, defaults: { format: 'json' }
|
||||
get 'host-meta', to: 'host_meta#show', as: :host_meta, defaults: { format: 'xml' }
|
||||
get 'host-meta', to: 'host_meta#show', as: :host_meta
|
||||
get 'nodeinfo', to: 'node_info#index', as: :nodeinfo, defaults: { format: 'json' }
|
||||
get 'webfinger', to: 'webfinger#show', as: :webfinger
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue