mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-22 06:43:19 +00:00
Disable E2EE API routes for the next release (#14283)
This commit is contained in:
parent
6cc5b822f5
commit
da3978c48e
|
@ -340,22 +340,22 @@ Rails.application.routes.draw do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
namespace :crypto do
|
# namespace :crypto do
|
||||||
resources :deliveries, only: :create
|
# resources :deliveries, only: :create
|
||||||
|
|
||||||
namespace :keys do
|
# namespace :keys do
|
||||||
resource :upload, only: [:create]
|
# resource :upload, only: [:create]
|
||||||
resource :query, only: [:create]
|
# resource :query, only: [:create]
|
||||||
resource :claim, only: [:create]
|
# resource :claim, only: [:create]
|
||||||
resource :count, only: [:show]
|
# resource :count, only: [:show]
|
||||||
end
|
# end
|
||||||
|
|
||||||
resources :encrypted_messages, only: [:index] do
|
# resources :encrypted_messages, only: [:index] do
|
||||||
collection do
|
# collection do
|
||||||
post :clear
|
# post :clear
|
||||||
end
|
# end
|
||||||
end
|
# end
|
||||||
end
|
# end
|
||||||
|
|
||||||
resources :conversations, only: [:index, :destroy] do
|
resources :conversations, only: [:index, :destroy] do
|
||||||
member do
|
member do
|
||||||
|
|
Loading…
Reference in a new issue