# Check that the app is configured correctly. Raise some helpful errors if something is wrong. if Rails.env.production? && ['localhost', 'production.localhost'].include?(Discourse.current_hostname) puts <