diff --git a/app/Http/Controllers/Client/ClientController.php b/app/Http/Controllers/Client/ClientController.php index b085a2f8..44084993 100644 --- a/app/Http/Controllers/Client/ClientController.php +++ b/app/Http/Controllers/Client/ClientController.php @@ -91,6 +91,7 @@ class ClientController extends Controller private function quantumultX($user, $vmess = [], $trojan = []) { $uri = ''; + header("subscription-userinfo: upload={$user->u}; download={$user->d}; total={$user->transfer_enable}; expire={$user->expired_at}"); foreach ($vmess as $item) { $uri .= QuantumultX::buildVmess($user->uuid, $item); }