修复Loon http https生成相反的问题 (#62)

This commit is contained in:
KotaHv 2021-10-23 21:19:27 +08:00 committed by GitHub
parent 638b510c7a
commit b24db4a907
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1560,7 +1560,7 @@ var ProxyUtils = (function () {
}`;
case "http":
tls_opts = "";
const base = `${proxy.name}=${proxy.tls ? "http" : "https"},${
const base = `${proxy.name}=${proxy.tls ? "https" : "http"},${
proxy.server
},${proxy.port},${proxy.username || ""},${proxy.password || ""}`;
if (proxy.tls) {
@ -3176,4 +3176,4 @@ var YAML = (function () {
return processing_time;
},
};
})();
})();