diff --git a/app/controllers/playback_controller.rb b/app/controllers/playback_controller.rb index 2619d1ce..8f87fa2c 100644 --- a/app/controllers/playback_controller.rb +++ b/app/controllers/playback_controller.rb @@ -96,6 +96,7 @@ def deliver_resource resource_path = request.original_fullpath static_resource_path = "/static-resource#{resource_path}" response.headers['X-Accel-Redirect'] = static_resource_path + response.headers['Content-Disposition'] = "attachment" unless %w[presentation video screenshare].include?(@playback_format.format) head(:ok) end