mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 10:38:14 -05:00
feat: add appname display in hiddify
add profile-title header to sing-box subscribe
This commit is contained in:
parent
2251f218d8
commit
fd37291716
@ -26,6 +26,7 @@ class SingBox
|
|||||||
|
|
||||||
return response()
|
return response()
|
||||||
->json($this->config)
|
->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('subscription-userinfo', "upload={$user['u']}; download={$user['d']}; total={$user['transfer_enable']}; expire={$user['expired_at']}")
|
||||||
->header('profile-update-interval', '24');
|
->header('profile-update-interval', '24');
|
||||||
}
|
}
|
||||||
@ -318,4 +319,4 @@ class SingBox
|
|||||||
|
|
||||||
return $array;
|
return $array;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user