Skip to content

Commit

Permalink
nil? -> present?
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
  • Loading branch information
PromoFaux committed Oct 2, 2021
1 parent 6f047ea commit b7d8c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/development.rb
Expand Up @@ -40,7 +40,7 @@
config.file_watcher = ActiveSupport::EventedFileUpdateChecker

# Prevent "Blocked host: hostname"
if !ENV["APP_HOSTNAME"].nil?
if !ENV["APP_HOSTNAME"].present?
config.hosts << ENV["APP_HOSTNAME"]
end

Expand Down

0 comments on commit b7d8c54

Please sign in to comment.