X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/cfbdd3f7e1c688e2c875ded9fd847fcc1c3a4caf..5506b2d9592f04800436c968055f540685efd29e:/config/environment.rb diff --git a/config/environment.rb b/config/environment.rb index 3820ed294..0d98c70bd 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -77,8 +77,9 @@ end # inflect.uncountable %w( fish sheep ) # end -# Set to true to put the API in read-only mode -API_READONLY = false +# Set to :readonly to put the API in read-only mode or :offline to +# take it completely offline +API_STATUS = :online # Include your application configuration below SERVER_URL = ENV['OSM_SERVER_URL'] || 'www.openstreetmap.org'