Skip to content

Instantly share code, notes, and snippets.

@gustin
Created April 23, 2012 02:21
Show Gist options
  • Save gustin/2468312 to your computer and use it in GitHub Desktop.
Save gustin/2468312 to your computer and use it in GitHub Desktop.
use Rack::Static,
urls: {
'/': 'index.html',
'/floyd': 'floyd/index.html'
},
root: 'public'
run Rack::URLMap.new({
'/': Rack::Directory.new('public')
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment