Removed unused well_known routes from ruby
• Removed: - unused well_known routes from ruby
This commit is contained in:
parent
0526e546c9
commit
cf7b554d69
@ -1,9 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module WellKnown
|
||||
class HostMetaController < ActionController::Base
|
||||
def show
|
||||
raise GabSocial::NotPermittedError
|
||||
end
|
||||
end
|
||||
end
|
@ -1,9 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module WellKnown
|
||||
class KeybaseProofConfigController < ActionController::Base
|
||||
def show
|
||||
render json: {}, status: 404
|
||||
end
|
||||
end
|
||||
end
|
@ -1,9 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module WellKnown
|
||||
class WebfingerController < ActionController::Base
|
||||
def show
|
||||
raise GabSocial::NotPermittedError
|
||||
end
|
||||
end
|
||||
end
|
@ -22,10 +22,7 @@ Rails.application.routes.draw do
|
||||
tokens: 'oauth/tokens'
|
||||
end
|
||||
|
||||
get '.well-known/host-meta', to: 'well_known/host_meta#show', as: :host_meta
|
||||
get '.well-known/webfinger', to: 'well_known/webfinger#show', as: :webfinger
|
||||
get '.well-known/change-password', to: redirect('/auth/edit')
|
||||
get '.well-known/keybase-proof-config', to: 'well_known/keybase_proof_config#show'
|
||||
|
||||
get 'manifest', to: 'manifests#show', defaults: { format: 'json' }
|
||||
get 'intent', to: 'intents#show'
|
||||
|
Loading…
Reference in New Issue
Block a user