mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-25 04:27:28 +08:00
fix(subscribe): Disable anytls protocol for Stash client
This commit is contained in:
@@ -13,7 +13,7 @@ class Stash extends AbstractProtocol
|
|||||||
protected $protocolRequirements = [
|
protected $protocolRequirements = [
|
||||||
'stash' => [
|
'stash' => [
|
||||||
'anytls' => [
|
'anytls' => [
|
||||||
'base_version' => '3.1.0'
|
'base_version' => '9.9.9'
|
||||||
],
|
],
|
||||||
'vless' => [
|
'vless' => [
|
||||||
'protocol_settings.tls' => [
|
'protocol_settings.tls' => [
|
||||||
@@ -104,10 +104,10 @@ class Stash extends AbstractProtocol
|
|||||||
array_push($proxy, self::buildTuic($user['uuid'], $item));
|
array_push($proxy, self::buildTuic($user['uuid'], $item));
|
||||||
array_push($proxies, $item['name']);
|
array_push($proxies, $item['name']);
|
||||||
}
|
}
|
||||||
if ($item['type'] === 'anytls') {
|
// if ($item['type'] === 'anytls') {
|
||||||
array_push($proxy, self::buildAnyTLS($user['uuid'], $item));
|
// array_push($proxy, self::buildAnyTLS($user['uuid'], $item));
|
||||||
array_push($proxies, $item['name']);
|
// array_push($proxies, $item['name']);
|
||||||
}
|
// }
|
||||||
if ($item['type'] === 'socks') {
|
if ($item['type'] === 'socks') {
|
||||||
array_push($proxy, self::buildSocks5($user['uuid'], $item));
|
array_push($proxy, self::buildSocks5($user['uuid'], $item));
|
||||||
array_push($proxies, $item['name']);
|
array_push($proxies, $item['name']);
|
||||||
|
|||||||
Reference in New Issue
Block a user