How to prevent github pages from using https automatically

configure your own domain name www.rychou.xyz in github pages, and do not use the Enforce HTTPS option. Visiting http://www.rychou.xyz at this point will automatically switch to using https.

clipboard.png

ajaxhttphttpshttp

clipboard.png

after searching around google, I didn"t find a solution. I wanted to know how to avoid using https automatically.

The < H1 > problem has been solved, it"s the browser cache problem, 233333, < / H1 >

it is suspected that Chrome automatically checks HTTPS and redirects. You can close it according to Baidu's process. If you no longer jump, it means that it is Chrome.

you can try js to force window.location.href= "http://."?

when visiting.

of course, the best solution is to also use HTTPS at the back end

Menu