Browse Source

fix for breaking change in clash 1.0.0

在clash的配置文件中使用小写的“rule”
需要对现有的appprofile.php作出修改
kkren 5 years ago
parent
commit
db2f439bff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/appprofile.example.php

+ 1 - 1
config/appprofile.example.php

@@ -246,7 +246,7 @@ $_ENV['Clash_Profiles'] = [
             'socks-port'          => 7891,
             'socks-port'          => 7891,
             'redir-port'          => 7892,
             'redir-port'          => 7892,
             'allow-lan'           => false,
             'allow-lan'           => false,
-            'mode'                => 'Rule',
+            'mode'                => 'rule',
             'log-level'           => 'silent',
             'log-level'           => 'silent',
             'external-controller' => '0.0.0.0:9090',
             'external-controller' => '0.0.0.0:9090',
             'secret'              => ''
             'secret'              => ''