feat: v1.9.4, config support human JSON
This commit is contained in:
@@ -89,7 +89,8 @@ impl TinyEncryptConfig {
|
||||
file
|
||||
);
|
||||
let mut config: TinyEncryptConfig = opt_result!(
|
||||
serde_json::from_str(&config_contents),
|
||||
// serde_json::from_str(&config_contents),
|
||||
json5::from_str(&config_contents),
|
||||
"Parse config file: {}, failed: {}",
|
||||
file
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user