不发行不上线的小程序也需要https域名吗?

小程序 文章 2022-03-08 09:20 245 0 全屏看文

AI助手支持GPT4.0

不发行不上线的小程序也需要https域名吗?Does a small program that is not released or not online also need an https domain name?

不发行不上线的小程序也需要https域名吗?

大四学生做小程序毕设,不需要上线发行,uniapp用hbuilder打包到微信开发工具后页面是空白的,后端数据库都正常,域名是别人给的二级域名没有ssl证书,是域名这里出了问题吗?

Senior students do small programs and do not need to publish them online. After uniapp is packaged into wechat development tool with hbuilder, the page is blank, and the back-end database is normal. The domain name is a secondary domain name given by others, and there is no SSL certificate. Is there a problem with the domain name?

回答:

小黎:

不校验合法域名,打开调试

dreamhunter:

不上线,体验版开调试应该就可以了

VBit:

你如果你在开发者工具打开是可以选择不校验域名、ssl的....,如果在手机上预览按要求是要域名及ssl证书的,你去申请个免费证书先用即可,各大平台可申请

-EOF-

AI助手支持GPT4.0