Add options for videoplayback

このコミットが含まれているのは:
Omar Roth 2018-04-16 19:41:38 -05:00
コミット 86627d8303
1個のファイルの変更5行の追加0行の削除

ファイルの表示

@ -843,6 +843,11 @@ get "/videoplayback" do |env|
end
end
options "/videoplayback" do |env|
env.response.headers["Access-Control-Allow-Origin"] = "*"
env.response.headers["Access-Control-Allow-Methods"] = "GET"
end
error 404 do |env|
error_message = "404 Page not found"
templated "error"