mirror of
https://github.com/bolucat/Archive.git
synced 2025-12-24 13:28:37 +08:00
Update On Fri Oct 25 20:37:23 CEST 2024
This commit is contained in:
@@ -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 || "/";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user