drogon icon indicating copy to clipboard operation
drogon copied to clipboard

Fix an error in the yaml format config file

Open tanglong3bf opened this issue 1 year ago • 2 comments

There is an error in the app.log.use_spdlog item in the default config file in the yaml format. While fixing this error, other minor problems in the config files were fixed. For example, some spelling errors and missing items in yaml format. At the same time, different config files are modified to store the same content.

tanglong3bf avatar May 04 '24 17:05 tanglong3bf

  1. 数据库和redis的客户端,两边都明确指定了name,主要是考虑yaml这边注释和数组语法的冲突;
  2. yaml格式配置文件里app.log.use_spdlog这一项做出了修改,之前带个逗号,会被识别为字符串;(主要就是为了改它)
  3. 插件和自定义配置按照json格式的进行修改;
  4. 修复了一些拼写错误:clinet defaut之类的;
  5. 修改了json格式的一些缩进。

tanglong3bf avatar May 04 '24 17:05 tanglong3bf

@tanglong3bf 感谢 custom_config好像测试里用到了,如果把它清了(那些和验证相关的配置),需要在测试的脚本里补上。

an-tao avatar May 05 '24 01:05 an-tao