Created
March 24, 2016 02:27
-
-
Save nrmitchi/9c4b7481bc0181332c58 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config.ru | |
gem 'rack-rewrite', '~> 1.5.1' | |
require 'rack/rewrite' | |
use Rack::Rewrite do | |
rewrite %r{^(.*)}, '/index.html' | |
end | |
run Rack::File.new "#{Dir.getwd}/public" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment