Created
April 5, 2013 22:45
-
-
Save cwoodcox/5323288 to your computer and use it in GitHub Desktop.
quick rack config file to serve a jekyll site so i can point pow at it
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
require 'rack/rewrite' | |
use Rack::Rewrite do | |
rewrite '/', 'index.html' | |
end | |
run Rack::Directory.new(File.join File.dirname(__FILE__), '_site') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment