【热更】修复草花cdn报错

dev_chengFeng
gaoxin 2021-06-11 19:24:04 +08:00 committed by JieLing
parent 57ece39059
commit eb27240907
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ namespace GameEditor.FrameTool
}
// 设置参数
UnityEngine.Debug.Log(url);
ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };
HttpWebRequest request = WebRequest.Create(url) as HttpWebRequest;
//发送请求并获取相应回应数据
HttpWebResponse response = request.GetResponse() as HttpWebResponse;