mariusz / utype

Puts 'u' back in blogging.

This URL has Read+Write access

utype / config / rack.rb
100644 12 lines (9 sloc) 0.358 kb
1
2
3
4
5
6
7
8
9
10
11
12
# use PathPrefix Middleware if :path_prefix is set in Merb::Config
if prefix = ::Merb::Config[:path_prefix]
  use Merb::Rack::PathPrefix, prefix
end
 
# comment this out if you are running merb behind a load balancer
# that serves static files
use Merb::Rack::Static, Merb.dir_for(:public)
 
# this is our main merb application
run Merb::Rack::Application.new