use Rack::Static, :urls => ['/stylesheets', '/images'], :root => 'public'
run proc { |env| [200, { 'Content-Type' => 'text/html', 'Cache-Control' => 'public, max-age=86400' }, File.open('public/index.html')] }
我调用 Rack::File:Class 的私有方法“打开”。实在看不出问题出在哪里。运行机架 1.1。请帮忙...