lib/flammarion/revelator.rb in flammarion-0.1.10pre2 vs lib/flammarion/revelator.rb in flammarion-0.1.11
- old
+ new
@@ -28,10 +28,10 @@
host_path = File.absolute_path(File.join(File.dirname(File.absolute_path(__FILE__)), "/../html/build/index.html"))
host_path = `cygpath -w '#{host_path}'`.strip if RbConfig::CONFIG["host_os"] == "cygwin"
host = "file://#{host_path}"
host = "http://localhost:4567/" if development_mode
- @expect_title = options[:title] || "Flammarion-#{rand.to_s[2..-1]}"
+ @expect_title = options[:title] || "Flammarion"
url = "#{host}?path=#{@window_id}&port=#{server.port}&title=#{@expect_title}"
@browser_options = options.merge({url: url, development_mode: development_mode})
@requested_browser = ENV["FLAMMARION_BROWSER"] || options[:browser]
@browser = @@browsers.find do |browser|