Enhancements

Fix rule generation in Surge configs.
Refactor log output for curl verbose logs.
Optimize codes.
This commit is contained in:
Tindy X committed 2023-12-06 15:25:53 +08:00
1 parent a0e25158f5
commit 043c1fdcb9
37 files changed
+317 -260

No files matched your search

+2 -2
View File
@@ -5,8 +5,8 @@
#include <jinja2cpp/template.h>
#include <nlohmann/json.hpp>
#include "../../handler/interfaces.h"
#include "../../utils/regexp.h"
#include "handler/interfaces.h"
#include "utils/regexp.h"
#include "templates.h"
static inline void parse_json_pointer(nlohmann::json &json, const std::string &path, const std::string &value)
+8 -8
View File
@@ -5,14 +5,14 @@
#include <inja.hpp>
#include <nlohmann/json.hpp>
#include "../../handler/interfaces.h"
#include "../../handler/settings.h"
#include "../../handler/webget.h"
#include "../../utils/logger.h"
#include "../../utils/network.h"
#include "../../utils/regexp.h"
#include "../../utils/urlencode.h"
#include "../../utils/yamlcpp_extra.h"
#include "handler/interfaces.h"
#include "handler/settings.h"
#include "handler/webget.h"
#include "utils/logger.h"
#include "utils/network.h"
#include "utils/regexp.h"
#include "utils/urlencode.h"
#include "utils/yamlcpp_extra.h"
#include "templates.h"
namespace inja
+2 -2
View File
@@ -4,8 +4,8 @@
#include <string>
#include <map>
#include "../../generator/config/subexport.h"
#include "../../utils/string.h"
#include "generator/config/subexport.h"
#include "utils/string.h"
struct template_args
{