diff --git a/app/bot.php b/app/bot.php index b05ac21..604fd7a 100644 --- a/app/bot.php +++ b/app/bot.php @@ -3773,8 +3773,8 @@ DNS-over-HTTPS with IP: $hash = substr(md5($this->key), 0, 8); $v2ray = "$scheme://{$domain}/pac?h=$hash&t=s&b=1&s={$c['inbounds'][0]['settings']['clients'][$i]['id']}"; $sing = "$scheme://{$domain}/pac?h=$hash&t=si&b=1&s={$c['inbounds'][0]['settings']['clients'][$i]['id']}"; - $fullsing = 'sing-box://import-remote-profile/?url=' . urlencode("$scheme://{$domain}/pac?h=$hash&t=si&s={$c['inbounds'][0]['settings']['clients'][$i]['id']}") . "#vpnbot$i"; - $fullv2ray = 'v2rayng://install-config?url=' . urlencode("$scheme://{$domain}/pac?h=$hash&t=s&s={$c['inbounds'][0]['settings']['clients'][$i]['id']}") . "#vpnbot$i"; + $fullsing = 'sing-box://import-remote-profile/?url=' . urlencode("$scheme://{$domain}/pac?h=$hash&t=si&s={$c['inbounds'][0]['settings']['clients'][$i]['id']}") . "#{$c['inbounds'][0]['settings']['clients'][$i]['email']}"; + $fullv2ray = 'v2rayng://install-config?url=' . urlencode("$scheme://{$domain}/pac?h=$hash&t=s&s={$c['inbounds'][0]['settings']['clients'][$i]['id']}") . "#{$c['inbounds'][0]['settings']['clients'][$i]['email']}"; if (!empty($fs)) { return $fullsing; } diff --git a/version b/version index 95fa941..04217ec 100644 --- a/version +++ b/version @@ -1,3 +1,5 @@ +12.04.2024 v1.26 +- имя клиента xtls подтягивается по подписке из бота 11.04.2024 v1.25 - подпись дефолтного шаблона в разделе пользователя xtls 11.04.2024 v1.24