Merge pull request '更新木兰授权地址' (#186) from gua2048/forgeplus:mulanoss_server into mulanoss_server
This commit is contained in:
commit
d0b3ea7a5a
|
@ -11,7 +11,7 @@ module MulanossOauth
|
||||||
end
|
end
|
||||||
|
|
||||||
def oauth_url
|
def oauth_url
|
||||||
"#{base_url}/api/auth/oschina?client_id=#{client_id}&redirect_uri=#{URI.encode_www_form_component(redirect_uri)}&response_type=code"
|
"https://portal.mulanos.cn/api/auth/oschina?client_id=#{client_id}&redirect_uri=#{URI.encode_www_form_component(redirect_uri)}&response_type=code"
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue