Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7a4583c036 | |||
| 7ffd9c10c5 |
+3
-3
@@ -3514,7 +3514,7 @@ DNS-over-HTTPS with IP:
|
||||
$v2ray = "$scheme://{$domain}/pac?h=$hash&t=s&b=1&s={$c['inbounds'][0]['settings']['clients'][$i]['id']}";
|
||||
$sing = "$scheme://{$domain}/pac?h=$hash&t=si&b=1&s={$c['inbounds'][0]['settings']['clients'][$i]['id']}";
|
||||
$fullsing = 'sing-box://import-remote-profile/?url=' . urlencode("$scheme://{$domain}/pac?h=$hash&t=si&s={$c['inbounds'][0]['settings']['clients'][$i]['id']}") . "#vpnbot$i";
|
||||
$fullv2ray = 'v2rayng://install-config?url=' . urlencode("$scheme://{$domain}/pac?h=$hash&t=si&s={$c['inbounds'][0]['settings']['clients'][$i]['id']}") . "#vpnbot$i";
|
||||
$fullv2ray = 'v2rayng://install-config?url=' . urlencode("$scheme://{$domain}/pac?h=$hash&t=s&s={$c['inbounds'][0]['settings']['clients'][$i]['id']}") . "#vpnbot$i";
|
||||
if (!empty($fs)) {
|
||||
return $fullsing;
|
||||
}
|
||||
@@ -3825,7 +3825,7 @@ DNS-over-HTTPS with IP:
|
||||
"outbound" => "dns-out"
|
||||
],
|
||||
[
|
||||
"domain" => array_keys(array_filter($pac['includelist'])),
|
||||
"domain_suffix" => array_keys(array_filter($pac['includelist'])),
|
||||
"outbound" => "proxy"
|
||||
],
|
||||
[
|
||||
@@ -3837,7 +3837,7 @@ DNS-over-HTTPS with IP:
|
||||
]
|
||||
]
|
||||
];
|
||||
if (empty($c['route']['rules'][1]['domain'])) {
|
||||
if (empty($c['route']['rules'][1]['domain_suffix'])) {
|
||||
unset($c['route']['rules'][1]);
|
||||
$c['route']['rules'] = array_values($c['route']['rules']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user