X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/77dcaef44c19d43a3944affbfcf2d037dc11aba5..c24b0e93997bcd6bcad475d9ba0adfe86fa01ea6:/app/models/client_application.rb?ds=sidebyside 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