Fix moderation interface for remote instances with a .zip TLD (#25885)

This commit is contained in:
Claire
2023-07-21 16:07:43 +02:00
parent 13ec425b72
commit efd066670d
+1 -1
View File
@@ -292,7 +292,7 @@ Rails.application.routes.draw do
end
end
resources :instances, only: [:index, :show, :destroy], constraints: { id: /[^\/]+/ } do
resources :instances, only: [:index, :show, :destroy], constraints: { id: /[^\/]+/ }, format: 'html' do
member do
post :clear_delivery_errors
post :restart_delivery