web-view已经配置了业务域名,地址指向的是https,为什么提示不支持打开非业务域名http?

小程序 文章 2020-08-18 10:21 962 0 全屏看文

AI助手支持GPT4.0

web-view已经配置了业务域名,地址指向的是https,为什么提示不支持打开非业务域名http?The web-view has been configured with the business domain name and the address points to https. Why does it prompt that it does not support opening the non-business domain name http?

web-view已经配置了业务域名,地址指向的是https,为什么提示不支持打开非业务域名http?

地址为:https://www.oneyac.com/login.html?returnUrl=https://www.oneyac.com/account/order/list.html

代码片段: https://developers.weixin.qq.com/s/iXEEfGmt7Pjx

在后台已经配置过了业务域名

Address: https://www.oneyac.com/login.html?returnUrl=https / / www.oneyac.com/account/order/list.html Code fragment: https://developers.weixin.qq.com/s/iXEEfGmt7Pjx The business domain name has been configured in the background

回答:

Admin²⁰²⁰:

测试发现,这个页面会get一个http的首页index.html

请检查源h5页面相关代码,去掉get一个http的操作代码即可

จุ๊บ:

实际测试代码片段 正常跳转https,但是因为测试号没有配置web-view导致无法正常跳转。

归去来兮:在开发环境下是已经配置过的
จุ๊บ:开发工具中这个配置是否显示正常,或者清空所有缓存试下
青寒:

http和https是不同的地址。

归去来兮:配置就是https,指向的地址也是https

-EOF-

AI助手支持GPT4.0