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

This commit is contained in:
Claire 2023-07-10 18:42:10 +02:00
parent bd2429b716
commit 73b16b674d

View file

@ -273,7 +273,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