diff --git a/config/config.yaml b/config/config.yaml index 19257d3..ce46895 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -1,5 +1,5 @@ mixed-port: 7897 -allow-lan: true +allow-lan: false bind-address: "*" mode: rule log-level: info diff --git a/src/cpp_filter/main.cpp b/src/cpp_filter/main.cpp index 51a554c..55284ad 100644 --- a/src/cpp_filter/main.cpp +++ b/src/cpp_filter/main.cpp @@ -49,7 +49,7 @@ int main() { #endif auto yml_dir = get_executable_dir() + "/../yml"; auto origin_yaml_path = yml_dir + "/origin.yaml"; - if (true) { + if (false) { std::string token = "9e314637568476bc4cfbd0a8d9799d0f"; write_file_content(origin_yaml_path, fetch_config_yml(token)); } diff --git a/yml/base_ruler.yaml b/yml/base_ruler.yaml index 36f7a0b..5177364 100644 --- a/yml/base_ruler.yaml +++ b/yml/base_ruler.yaml @@ -1,5 +1,5 @@ mixed-port: 7897 -allow-lan: true +allow-lan: false bind-address: '*' mode: rule log-level: info