# Check that the app is configured correctly. Raise some helpful errors if something is wrong. if defined?(Rails::Server) and Rails.env.production? # Only run these checks when starting up a production server if ['localhost', 'production.localhost'].include?(Discourse.current_hostname) puts <