mirror of
https://git.fightbot.fun/hxuanyu/BingPaper.git
synced 2026-02-15 05:59:32 +08:00
更新默认配置:将 api.mode 的默认值从 local 修改为 redirect
This commit is contained in:
@@ -164,7 +164,7 @@ func Init(configPath string) error {
|
||||
v.SetDefault("log.log_console", true)
|
||||
v.SetDefault("log.show_db_log", false)
|
||||
v.SetDefault("log.db_log_level", "info")
|
||||
v.SetDefault("api.mode", "local")
|
||||
v.SetDefault("api.mode", "redirect")
|
||||
v.SetDefault("api.enable_mkt_fallback", true)
|
||||
v.SetDefault("cron.enabled", true)
|
||||
v.SetDefault("cron.daily_spec", "20 8-23/4 * * *")
|
||||
|
||||
Reference in New Issue
Block a user