Compare commits

..

5 Commits

Author SHA1 Message Date
Yusum
5843006a52
Merge 42542725f7 into a60b23b17d 2025-01-10 13:37:41 +08:00
Xboard
a60b23b17d
Merge pull request #280 from longdoer/patch-1
Some checks failed
Docker / build (push) Has been cancelled
Update ClashMeta.php
2025-01-10 13:37:11 +08:00
Xboard
6aee3ea40e
Merge pull request #295 from sechk777/patch-1
Update default.sing-box.json
2025-01-10 13:36:28 +08:00
seck
d6b7ae6404
Update default.sing-box.json
The inet4_address and inet6_address types have been consolidated into a unified address type, in alignment with the official documentation.
2024-12-19 15:34:58 +08:00
longdoer
ddac216e2d
Update ClashMeta.php
增加ClashMeta首页链接
2024-11-19 16:45:52 +08:00
2 changed files with 6 additions and 3 deletions

View File

@ -88,7 +88,8 @@ class ClashMeta
return response($yaml, 200) return response($yaml, 200)
->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')
->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'));
} }
/** /**

View File

@ -49,8 +49,10 @@
"auto_route": true, "auto_route": true,
"domain_strategy": "prefer_ipv4", "domain_strategy": "prefer_ipv4",
"endpoint_independent_nat": true, "endpoint_independent_nat": true,
"inet4_address": "172.19.0.1/30", "address": [
"inet6_address": "2001:0470:f9da:fdfa::1/64", "172.19.0.1/30",
"2001:0470:f9da:fdfa::1/64"
],
"mtu": 9000, "mtu": 9000,
"sniff": true, "sniff": true,
"sniff_override_destination": true, "sniff_override_destination": true,