mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
Merge pull request #479 from betaxab/update
This commit is contained in:
commit
d25d7ba69b
@ -20,10 +20,10 @@ class Clash
|
||||
{
|
||||
$servers = $this->servers;
|
||||
$user = $this->user;
|
||||
$app_name = config('v2board.app_name', 'V2Board');
|
||||
$appName = config('v2board.app_name', 'V2Board');
|
||||
header("subscription-userinfo: upload={$user['u']}; download={$user['d']}; total={$user['transfer_enable']}; expire={$user['expired_at']}");
|
||||
header('profile-update-interval: 24');
|
||||
header("content-disposition: filename={$app_name}");
|
||||
header("content-disposition: filename={$appName}");
|
||||
$defaultConfig = base_path() . '/resources/rules/default.clash.yaml';
|
||||
$customConfig = base_path() . '/resources/rules/custom.clash.yaml';
|
||||
if (\File::exists($customConfig)) {
|
||||
|
Loading…
Reference in New Issue
Block a user