lib/template/config.ru in browser_app_base-0.0.5 vs lib/template/config.ru in browser_app_base-0.0.6

- old
+ new

@@ -28,10 +28,32 @@ content_type "text/json", :charset => "utf-8" puts "#{file}.#{ext}" File.read "config/#{file}.#{ext}" end +get "/open_dialog" do + dialog_html = <<'EOS' + <!DOCTYPE html> + <html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>Message Dialog</title> + <style type="text/css"> + <!-- + body { + color: #000000; + background-color: #ffffff; + overflow: hidden; + font-size: 12px; + } + --> + </style> + </head> +EOS + dialog_html += "<body>" + params["msg"] + "</body></html>" +end + map "/search" do run Search end map "/wsserver" do @@ -50,8 +72,8 @@ # Thread.start { # } end -#\ --port 52538 +#\ --port 54068 run Sinatra::Application