Skip to content

Commit

Permalink
Silence constant warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Fernandez committed May 14, 2012
1 parent 03716c3 commit 7ba23ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config.ru
Expand Up @@ -3,7 +3,9 @@ require 'bundler'

Bundler.require

DOMAIN = 'www.productionhacks.com'
unless Object.const_defined?(:DOMAIN)
DOMAIN = 'www.productionhacks.com'
end

# Rack config
use Rack::Static, :urls => ['/css', '/js', '/images', '/favicon.ico', '/robots.txt'], :root => 'public'
Expand Down

0 comments on commit 7ba23ed

Please sign in to comment.