don't warn unless in production

This commit is contained in:
Sam 2013-12-19 09:59:44 +11:00
parent 380f60d17c
commit 9cecabd023
1 changed files with 1 additions and 1 deletions

View File

@ -48,4 +48,4 @@ production:
username: <%= uri.user %>
password: <%= uri.password %>
host_names:
- <%= ENV["DISCOURSE_HOSTNAME"] || raise("env var for DISCOURSE_HOSTNAME must be set") %> # Update this to be the domain of your production site
- <%= ENV["DISCOURSE_HOSTNAME"] || raise("env var for DISCOURSE_HOSTNAME must be set") if Rails.env == "production" %> # Update this to be the domain of your production site