X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2cd7af7e0b2ad97687849576ed4e3f52c37a6d55..082880fca682abc3b3ccd39b3479305046126f97:/config/application.rb diff --git a/config/application.rb b/config/application.rb index 10a2372db..b801c8b5f 100644 --- a/config/application.rb +++ b/config/application.rb @@ -1,6 +1,6 @@ require_relative "boot" -if ENV["OPENSTREETMAP_STATUS"] == "database_offline" +if ENV.fetch("OPENSTREETMAP_STATUS", nil) == "database_offline" require "active_model/railtie" require "active_job/railtie" require "active_storage/engine"