]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/osm.js.erb
Move user images to Active Storage with paperclip as a fallback
[rails.git] / app / assets / javascripts / osm.js.erb
index 31bb23c4b7458dff99af3aaf48bb200f92f6a4dd..205dae0d145358f4f621f8cd9881bb4a76370ab4 100644 (file)
@@ -1,4 +1,5 @@
-//= depend_on application.yml
+//= depend_on settings.yml
+//= depend_on settings.local.yml
 
 OSM = {
 <% if defined?(PIWIK) %>
@@ -9,7 +10,7 @@ OSM = {
   SERVER_PROTOCOL:         <%= Settings.server_protocol.to_json %>,
   SERVER_URL:              <%= Settings.server_url.to_json %>,
   API_VERSION:             <%= Settings.api_version.to_json %>,
-  STATUS:                  <%= STATUS.to_json %>,
+  STATUS:                  <%= Settings.status.to_json %>,
   MAX_NOTE_REQUEST_AREA:   <%= Settings.max_note_request_area.to_json %>,
   OVERPASS_URL:            <%= Settings.overpass_url.to_json %>,
   NOMINATIM_URL:           <%= Settings.nominatim_url.to_json %>,