EtherDream / jsproxy-browser

jsproxy 浏览器端程序
https://github.com/EtherDream/jsproxy
MIT License
288 stars 157 forks source link

请问这个可以不跳转https吗? CF的workers.dev被SNI阻断了, 目前只有HTTP可用 #19

Open Tmalll opened 1 year ago

Tmalll commented 1 year ago

请问这个可以不跳转https吗? CF的workers.dev被SNI阻断了, 目前只有HTTP可用

czwstc commented 1 year ago

请使用自己的域名。

Tmalll commented 1 year ago

请使用自己的域名。

还是希望能支持下http模式, 这样适用面广一些哈, 能否指导一下? 我尝试把这段给注销掉, 然后用http访问页面, 提示 >>本程序需要 HTTPS 站点<<

if (urlObj.protocol === 'http:') { urlObj.protocol = 'https:' return makeRes('', 301, { 'strict-transport-security': 'max-age=99999999; includeSubDomains; preload', 'location': urlObj.href, }) }