The HSTS problem of Mini Program's Development tools

before the development environment deployed https, later lazy to assign certificates to webpack-dev-server, because of HSTS problems, and then found that Mini Program development tools automatically 307 to https.

chrome I know how to solve it, but Mini Program development tool, there is no address bar. I don"t know if you have encountered this problem

Mar.12,2021

I came across it, too. Has the landlord found a solution?

https://developers.weixin.qq.


the server arbitrarily requests to add headers: header ("strict-Transport-Security: max-age = 10");

Menu