diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-03-06 17:44:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-06 17:44:55 +0100 |
commit | 59b24c3688628a3cb778e71fc0684636cbda557b (patch) | |
tree | fd6dea2fa807cc96c583e5722f74f73c51266a15 /config | |
parent | dfa1be4ab451a4dd099ad3c140502fb0759ef832 (diff) |
Fix `/api/v1/streaming` sub-paths not being redirected (#23988)
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index e7c4c000e..530b46a5a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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] |