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.
lolsob-rspec
Thibaut Girka 2020-06-09 11:16:42 +02:00
parent f6ce71e81c
commit 6f24f8c363
1 changed files with 16 additions and 16 deletions

View File

@ -343,22 +343,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