From c00dafa6d1fae4674e1e615fd904066bdc8bd561 Mon Sep 17 00:00:00 2001 From: mercury Date: Mon, 18 Mar 2024 01:59:12 +0400 Subject: [PATCH] fix port mtproto --- app/bot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/bot.php b/app/bot.php index 1fc9165..6279ee9 100644 --- a/app/bot.php +++ b/app/bot.php @@ -441,7 +441,7 @@ class Bot $d = trim(file_get_contents('/config/mtprotodomain') ?: 'vk.com'); $d = exec("echo $d | tr -d '\\n' | xxd -ps -c 200"); $ip = $this->getPacConf()['domain'] ?: $this->ip; - return "https://t.me/proxy?server=$ip&port=443&secret=ee$s$d"; + return "https://t.me/proxy?server=$ip&port=$p&secret=ee$s$d"; } public function mtproto()