《第19课 JS-SDK:使用》中"config:fail,invalid domain"
i-shanghai opened this issue · comments
Leo Lee commented
JSSDKHelper.GetJsSdkUiPackage(Service.Config.AppId, Service.Config.AppSecret, Request.Url.AbsolutePath);
修改为:
JSSDKHelper.GetJsSdkUiPackage(Service.Config.AppId, Service.Config.AppSecret, Request.Url.AbsoluteUri);
测试结果:
Request.Url.AbsolutePath value is : /jssdk/index
Request.Url.AbsoluteUri value is : http://101.senparc.com/jssdk/index
Leo Lee commented
又看了下视频里面是:Request.Url.AbsoluteUri