diff --git a/app/Protocols/SingBox.php b/app/Protocols/SingBox.php index a0e1e18..3c79a01 100644 --- a/app/Protocols/SingBox.php +++ b/app/Protocols/SingBox.php @@ -26,6 +26,7 @@ class SingBox return response() ->json($this->config) + ->header('profile-title', 'base64:'. base64_encode($appName)) ->header('subscription-userinfo', "upload={$user['u']}; download={$user['d']}; total={$user['transfer_enable']}; expire={$user['expired_at']}") ->header('profile-update-interval', '24'); } @@ -318,4 +319,4 @@ class SingBox return $array; } -} \ No newline at end of file +}