bin/jobim in jobim-0.4.1 vs bin/jobim in jobim-0.4.2

- old
+ new

@@ -14,10 +14,12 @@ require 'rack' require 'rack/rewrite' app = Rack::Builder.new do use Rack::Rewrite do - rewrite '/', '/index.html' + rewrite %r{(.*)/$}, "$1/index.html", :if => -> (env) { + File.exists?("#{$1}/index,html") + } end use Rack::CommonLogger, STDOUT map opts[:Prefix] do