Skip to content

Commit

Permalink
handle channels with dots
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Sep 12, 2013
1 parent 4a456e2 commit afc5cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class App < Sinatra::Base
send_file(File.join(Wallop.transcoding_path, "#{session[:channel]}.m3u8"))
end

get %r{/(\d+.ts)} do
get %r{/([\.\d+].ts)} do
content_type :ts
send_file(File.join(Wallop.transcoding_path, params[:captures].first))
end
Expand Down

0 comments on commit afc5cab

Please sign in to comment.