diff --git a/config/initializers/verify_config.rb b/config/initializers/verify_config.rb new file mode 100644 index 00000000000..231b4de4296 --- /dev/null +++ b/config/initializers/verify_config.rb @@ -0,0 +1,15 @@ +# Check that the app is configured correctly. Raise some helpful errors if something is wrong. + +if Rails.env.production? and ['localhost', 'production.localhost'].include?(Discourse.current_hostname) + puts <