Ruby Rack Heroku: Serving Static Files
问题 I have followed the Heroku guide on deploying static files using Ruby Rack (https://devcenter.heroku.com/articles/static-sites-ruby), but I was unable to access any HTML file in \public apart from index.html . Namely, localhost:9292/test.html still maps to index.html . (All my style and js files serve correctly). Below is my config.ru file. I know what's wrong, but not sure about a valid solution? use Rack::Static, :urls => ["/images", "/js", "/css"], :root => "public" run lambda { |env| [