Update On Fri Oct 25 20:37:23 CEST 2024

This commit is contained in:
github-action[bot]
2024-10-25 20:37:24 +02:00
parent 509ec96228
commit b8d3af4b42
103 changed files with 3032 additions and 2372 deletions

View File

@@ -1410,16 +1410,8 @@ export default {
o.ssCipher = fields[1];
o.ssPassword = fields[2];
}
const obfsMap = {
original: "none",
"": "none",
ws: "websocket",
};
o.obfs = obfsMap[u.params.type || ""];
if (o.obfs === "ws") {
if (u.params.type === "ws") {
o.obfs = "websocket";
}
if (o.obfs === "websocket") {
o.host = u.params.host || "";
o.path = u.params.path || "/";
}