mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 04:49:03 +08:00
Added UDP relay support for the Trojan protocol on Surge
This commit is contained in:
parent
0a96cb9df1
commit
f4ff4d5f97
@ -193,8 +193,9 @@ function service() {
|
||||
$.notify(
|
||||
`🌍 『 𝑺𝒖𝒃-𝑺𝒕𝒐𝒓𝒆 』 下载订阅失败`,
|
||||
`❌ 无法下载订阅:${name}!`,
|
||||
`🤔 原因:${err}`
|
||||
`🤔 原因:${JSON.stringify(err)}`
|
||||
);
|
||||
$.error(JSON.stringify(err));
|
||||
res.status(500).json({
|
||||
status: "failed",
|
||||
message: err,
|
||||
@ -2659,7 +2660,7 @@ var ProxyUtils = (function () {
|
||||
? ",skip-cert-verify=" + proxy["skip-cert-verify"]
|
||||
: ""
|
||||
}${proxy.sni ? ",sni=" + proxy.sni : ""},tfo=${proxy.tfo || "false"
|
||||
}`;
|
||||
},udp-relay=${proxy.udp || "false"}`;
|
||||
break;
|
||||
case "http":
|
||||
tls_opts = ", tls=false";
|
||||
|
4
backend/sub-store.min.js
vendored
4
backend/sub-store.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user