From ddac216e2d49b9a678b690f501895d84ee9de8dc Mon Sep 17 00:00:00 2001 From: longdoer <346048058@qq.com> Date: Tue, 19 Nov 2024 16:45:52 +0800 Subject: [PATCH] Update ClashMeta.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加ClashMeta首页链接 --- app/Protocols/ClashMeta.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Protocols/ClashMeta.php b/app/Protocols/ClashMeta.php index 7b9fa1c..77a98ee 100644 --- a/app/Protocols/ClashMeta.php +++ b/app/Protocols/ClashMeta.php @@ -88,7 +88,8 @@ class ClashMeta return response($yaml, 200) ->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', 'attachment;filename*=UTF-8\'\'' . rawurlencode($appName)); + ->header('content-disposition', 'attachment;filename*=UTF-8\'\'' . rawurlencode($appName)) + ->header('profile-web-page-url', admin_setting('app_url')); } /**