]> git.openstreetmap.org Git - rails.git/blobdiff - config/environment.rb
Provide both HTML and plain text versions of account confirmation and
[rails.git] / config / environment.rb
index 003a7b832ce1e6ca468281de77aa4e47804d65d4..e58631901728abae9966c48ddf0dedc4062a22f2 100644 (file)
@@ -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'