mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-30 16:07:24 +08:00
feat: add appname display in hiddify
add profile-title header to sing-box subscribe
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user