Browse Source

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

closed-social-glitch-2
Claire 1 year ago
committed by GitHub
parent
commit
59b24c3688
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      config/routes.rb

+ 3
- 1
config/routes.rb View File

@ -472,7 +472,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…
Cancel
Save