|
@@ -245,6 +245,7 @@ class ClientController extends Controller
|
|
|
|
|
|
private function clash($user, $servers = [])
|
|
|
{
|
|
|
+ header("subscription-userinfo: upload={$user['u']}; download={$user['d']}; total={$user['transfer_enable']}; expire={$user['expired_at']}");
|
|
|
$defaultConfig = base_path() . '/resources/rules/default.clash.yaml';
|
|
|
$customConfig = base_path() . '/resources/rules/custom.clash.yaml';
|
|
|
if (\File::exists($customConfig)) {
|