Allow the API to be taken offline completely as well as being put into

readonly mode,
This commit is contained in:
Tom Hughes 2007-09-20 23:51:11 +00:00
parent 27d8f2ef63
commit 9c01c4cb63
11 changed files with 25 additions and 9 deletions

View 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'