drogon
drogon copied to clipboard
Fix an error in the yaml format config file
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.
- 数据库和redis的客户端,两边都明确指定了
name,主要是考虑yaml这边注释和数组语法的冲突; - yaml格式配置文件里
app.log.use_spdlog这一项做出了修改,之前带个逗号,会被识别为字符串;(主要就是为了改它) - 插件和自定义配置按照json格式的进行修改;
- 修复了一些拼写错误:
clinetdefaut之类的; - 修改了json格式的一些缩进。
@tanglong3bf 感谢 custom_config好像测试里用到了,如果把它清了(那些和验证相关的配置),需要在测试的脚本里补上。