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 7709bbba65
commit 6398fc0b66
1 changed files with 1 additions and 1 deletions

View File

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