]> cat aescling's git repositories - mastodon.git/commitdiff
Disable E2EE-related routes
authorThibaut Girka <thib@sitedethib.com>
Tue, 9 Jun 2020 09:16:42 +0000 (11:16 +0200)
committerThibaut Girka <thib@sitedethib.com>
Tue, 9 Jun 2020 09:16:42 +0000 (11:16 +0200)
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.

config/routes.rb

index 93e995df2c0149bf0ecfc63db34aea807f1d6bc4..d2f350580dfd9bf848828be50157b46664ff2570 100644 (file)
@@ -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