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 committed by GitHub
parent 66693177ff
commit 2b174c0d78

View file

@ -67,7 +67,7 @@ namespace :admin do
end
end
resources :instances, only: [:index, :show, :destroy], constraints: { id: %r{[^/]+} } do
resources :instances, only: [:index, :show, :destroy], constraints: { id: %r{[^/]+} }, format: 'html' do
member do
post :clear_delivery_errors
post :restart_delivery