* AppRouterController.cs: chore: 调整 app router 域名及统一设置域名方法
* AVClient.cs:
parent
5b9da20d74
commit
6c70b459d5
|
@ -37,7 +37,7 @@ namespace LeanCloud.Storage.Internal {
|
|||
async Task<AppRouterState> QueryAsync(string appId) {
|
||||
Console.WriteLine("QueryAsync");
|
||||
|
||||
string url = string.Format("https://app-router.leancloud.cn/2/route?appId={0}", appId);
|
||||
string url = string.Format("https://app-router.com/2/route?appId={0}", appId);
|
||||
|
||||
HttpClient client = new HttpClient();
|
||||
HttpRequestMessage request = new HttpRequestMessage {
|
||||
|
|
|
@ -28,7 +28,7 @@ namespace LeanCloud {
|
|||
/// <summary>
|
||||
/// LeanCloud SDK 配置
|
||||
/// </summary>
|
||||
public struct Configuration {
|
||||
public class Configuration {
|
||||
/// <summary>
|
||||
/// App Id
|
||||
/// </summary>
|
||||
|
@ -118,6 +118,12 @@ namespace LeanCloud {
|
|||
});
|
||||
}
|
||||
|
||||
public static void SetServerURL(string serverUrl) {
|
||||
CurrentConfiguration.ApiServer = serverUrl;
|
||||
CurrentConfiguration.EngineServer = serverUrl;
|
||||
CurrentConfiguration.RTMServer = serverUrl;
|
||||
}
|
||||
|
||||
internal static Action<string> LogTracker { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue