Fix `/api/v1/streaming` sub-paths not being redirected (#23988)

pull/59/head
Claire 2023-03-06 17:44:55 +01:00 committed by GitHub
parent dfa1be4ab4
commit 59b24c3688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -472,7 +472,9 @@ Rails.application.routes.draw do
resources :list, only: :show
end
resources :streaming, only: [:index]
get '/streaming', to: 'streaming#index'
get '/streaming/(*any)', to: 'streaming#index'
resources :custom_emojis, only: [:index]
resources :suggestions, only: [:index, :destroy]
resources :scheduled_statuses, only: [:index, :show, :update, :destroy]