mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 05:18:06 +01:00
Disable E2EE-related routes
Not that I think they are an issue, but the API is likely to change, and isn't versioned, so I don't want to that be an issue since we also don't have clear versioning in glitch-soc.
This commit is contained in:
parent
00cd919750
commit
b826e504b4
1 changed files with 16 additions and 16 deletions
|
@ -343,22 +343,22 @@ Rails.application.routes.draw do
|
|||
end
|
||||
end
|
||||
|
||||
namespace :crypto do
|
||||
resources :deliveries, only: :create
|
||||
|
||||
namespace :keys do
|
||||
resource :upload, only: [:create]
|
||||
resource :query, only: [:create]
|
||||
resource :claim, only: [:create]
|
||||
resource :count, only: [:show]
|
||||
end
|
||||
|
||||
resources :encrypted_messages, only: [:index] do
|
||||
collection do
|
||||
post :clear
|
||||
end
|
||||
end
|
||||
end
|
||||
# namespace :crypto do
|
||||
# resources :deliveries, only: :create
|
||||
#
|
||||
# namespace :keys do
|
||||
# resource :upload, only: [:create]
|
||||
# resource :query, only: [:create]
|
||||
# resource :claim, only: [:create]
|
||||
# resource :count, only: [:show]
|
||||
# end
|
||||
#
|
||||
# resources :encrypted_messages, only: [:index] do
|
||||
# collection do
|
||||
# post :clear
|
||||
# end
|
||||
# end
|
||||
# end
|
||||
|
||||
resources :conversations, only: [:index, :destroy] do
|
||||
member do
|
||||
|
|
Loading…
Reference in a new issue