fix: bug in padding

This commit is contained in:
Hiddify
2024-01-29 14:21:42 +01:00
parent 19f984f78a
commit c1fe4171cc
6 changed files with 28 additions and 19 deletions

View File

@@ -54,16 +54,16 @@ func BuildConfig(configOpt ConfigOptions, input option.Options) (*option.Options
ClashAPI: &option.ClashAPIOptions{
ExternalController: fmt.Sprintf("%s:%d", "127.0.0.1", configOpt.ClashApiPort),
},
CacheFile: &option.CacheFileOptions{
Enabled: true,
Path: "clash.db",
},
// CacheFile: &option.CacheFileOptions{
// Enabled: true,
// Path: "clash.db",
// },
}
}
options.Log = &option.LogOptions{
Level: configOpt.LogLevel,
Output: "box.log",
Level: configOpt.LogLevel,
// Output: "box.log",
Disabled: false,
Timestamp: true,
DisableColor: true,