diff --git a/app/controllers/downloads_controller.rb b/app/controllers/downloads_controller.rb index d28850fd37..4172377e1a 100644 --- a/app/controllers/downloads_controller.rb +++ b/app/controllers/downloads_controller.rb @@ -34,7 +34,7 @@ def send_hls playlist.items.each do |item| item.segment = "#{item.segment}?auth_token=#{params[:auth_token]}" end - render plain: playlist.to_s + send_data(playlist.to_s, type: "application/x-mpegurl", disposition: :inline) end def send_fgdc