From 0a63ed4584e0c2eb95d80a6a6014f4cd2a69f7ec Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Fri, 5 Jul 2024 11:00:51 -0400 Subject: [PATCH] Add api streaming case --- config/routes/api.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/routes/api.rb b/config/routes/api.rb index 488bdb7453e..8845c069166 100644 --- a/config/routes/api.rb +++ b/config/routes/api.rb @@ -44,8 +44,10 @@ namespace :api, format: false do resources :list, only: :show end - get '/streaming', to: 'streaming#index' - get '/streaming/(*any)', to: 'streaming#index' + with_options to: 'streaming#index' do + get '/streaming' + get '/streaming/(*any)' + end resources :custom_emojis, only: [:index] resources :suggestions, only: [:index, :destroy]