Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (10 sloc) 235 Bytes
require "rack"
app = Rack::Builder.new do
use Rack::Static,
urls: {"/" => "index.html"},
root: "public"
run Rack::URLMap.new({
"/" => Rack::Directory.new("public")
})
end
Rack::Handler::Thin.run app, :Port => 1234