Merge branch 'dev' into singbox
This commit is contained in:
+1
-1
@@ -4819,7 +4819,7 @@ DNS-over-HTTPS with IP:
|
||||
public function addPackageRule($route)
|
||||
{
|
||||
$p = $this->getPacConf();
|
||||
if (!empty($t = array_filter($p['packagelist']))) {
|
||||
if (!empty($t = array_filter($p['packagelist'] ?: []))) {
|
||||
$route['rules'][] = [
|
||||
'package_name' => array_keys($t),
|
||||
'outbound' => $p['app_outbound'] ? 'direct' : 'proxy',
|
||||
|
||||
Reference in New Issue
Block a user