Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fake server reports detailed orientation

  • Loading branch information...
commit dfad1122e1d0a67e25361a10ae9a4b7c834f6418 1 parent c2cb62d
@moredip moredip authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  config.ru
View
2  config.ru
@@ -18,7 +18,7 @@ class SinatraStaticServer < Sinatra::Base
get(/.+/) do
case request.path
when "/orientation"
- %Q|{"orientation":"portrait"}|
+ %Q|{"orientation":"portrait","detailed_orientation":"portrait"}|
when "/screenshot"
send_file( File.expand_path( "../fake_server/fake_screenshot", __FILE__ ) )
when %r|^/screenshot/view-snapshot/|
Please sign in to comment.
Something went wrong with that request. Please try again.