Default to json type for webfinger requests (#1583)
This commit is contained in:
parent
fd102059aa
commit
b352a8e5d4
4 changed files with 36 additions and 8 deletions
|
@ -15,7 +15,7 @@ Rails.application.routes.draw do
|
|||
end
|
||||
|
||||
get '.well-known/host-meta', to: 'xrd#host_meta', as: :host_meta
|
||||
get '.well-known/webfinger', to: 'xrd#webfinger', as: :webfinger
|
||||
get '.well-known/webfinger', to: 'xrd#webfinger', as: :webfinger, defaults: { format: 'json' }
|
||||
|
||||
devise_for :users, path: 'auth', controllers: {
|
||||
sessions: 'auth/sessions',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue