X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/43c09d8062fc4aef4f1e0e5d3598e526a02bb288..cebb05a3ba6313c245509d7966cec184936f9c42:/app/models/client_application.rb diff --git a/app/models/client_application.rb b/app/models/client_application.rb index 5dafaaa5c..ae95e2908 100644 --- a/app/models/client_application.rb +++ b/app/models/client_application.rb @@ -67,7 +67,7 @@ class ClientApplication < ActiveRecord::Base end def oauth_server - @oauth_server ||= OAuth::Server.new("https://" + SERVER_URL) + @oauth_server ||= OAuth::Server.new("https://" + Settings.server_url) end def credentials