X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c4a192f43692964fbc4c20c67930f16393a18028..c4c0e8105a8edc35205add749f461ec7be689aef:/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