Browse files

fake server reports detailed orientation

  • Loading branch information...
1 parent c2cb62d commit dfad1122e1d0a67e25361a10ae9a4b7c834f6418 @moredip moredip committed Sep 13, 2012
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/|

0 comments on commit dfad112

Please sign in to comment.