Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'jruby' of github.com:eurucamp/2012.eurucamp.org into jruby

  • Loading branch information...
commit 2046653b66bfd87a520c8973ecf8ebd486f53a65 2 parents 51b59c7 + 15764cc
@polarblau polarblau authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 config.ru
View
4 config.ru
@@ -7,8 +7,8 @@ require 'rack/contrib/try_static'
use Rack::Rewrite do
# ie:
# HOST_EURUCAMP=lvh.me HOST_JRUBYCONF=jruby.lvh.me bundle exec rackup
- rewrite %r{(.*)}, '/eurucamp/$1', host: (ENV['HOST_EURUCAMP'] || '2012.eurucamp.eu')
- rewrite %r{(.*)}, '/jrubyconf/$1', host: (ENV['HOST_JRUBYCONF'] || 'jrubyconf.eu')
+ rewrite %r{(.*)}, '/eurucamp/$1', host: (ENV['HOST_EURUCAMP'] || '2012.eurucamp.com' || '2012.eurucamp.org')
+ rewrite %r{(.*)}, '/jrubyconf/$1', host: (ENV['HOST_JRUBYCONF'] || 'jrubyconf.eu' || 'jruby.eurucamp.com' || 'jruby.eurucamp.org')
end
use Rack::TryStatic, :root => "build", :urls => %w[/], :try => ['.html', 'index.html', '/index.html']
Please sign in to comment.
Something went wrong with that request. Please try again.