mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-25 12:34:58 +01:00
Fix /api/v1/streaming
sub-paths not being redirected (#23988)
This commit is contained in:
parent
2fed61a477
commit
4bfbeb8139
@ -470,7 +470,9 @@ Rails.application.routes.draw do
|
|||||||
resources :list, only: :show
|
resources :list, only: :show
|
||||||
end
|
end
|
||||||
|
|
||||||
resources :streaming, only: [:index]
|
get '/streaming', to: 'streaming#index'
|
||||||
|
get '/streaming/(*any)', to: 'streaming#index'
|
||||||
|
|
||||||
resources :custom_emojis, only: [:index]
|
resources :custom_emojis, only: [:index]
|
||||||
resources :suggestions, only: [:index, :destroy]
|
resources :suggestions, only: [:index, :destroy]
|
||||||
resources :scheduled_statuses, only: [:index, :show, :update, :destroy]
|
resources :scheduled_statuses, only: [:index, :show, :update, :destroy]
|
||||||
|
Loading…
Reference in New Issue
Block a user