]> git.openstreetmap.org Git - rails.git/blobdiff - config/environment.rb
- replaced hardcoded www.openstreetmap.org with environment variable
[rails.git] / config / environment.rb
index 76f1669a2d26d045afd6d1c6cae8b4763f8fdf49..a26cb54420075233e0347d621960320ecc5a6c98 100644 (file)
@@ -52,7 +52,8 @@ end
 
 # Include your application configuration below
 
-API_VERSION = '0.4'
+API_VERSION = ENV['OSM_API_VERSION'] || '0.4'
+SERVER_URL = ENV['OSM_SERVER_URL'] || 'www.openstreetmap.org'
 
 ActionMailer::Base.server_settings = {
   :address  => "localhost",