[mod] conf:default values
This commit is contained in:
parent
3d5aedd3c9
commit
56d84c8848
1 changed files with 4 additions and 4 deletions
|
@ -161,7 +161,7 @@ namespace _espe.conf
|
|||
),
|
||||
"server": (
|
||||
((node_server) => ({
|
||||
"port": (node_server["port"] ?? 3593),
|
||||
"port": (node_server["port"] ?? 4916),
|
||||
"path_base": (node_server["path_base"] ?? ""),
|
||||
})) (conf_raw["server"] ?? {})
|
||||
),
|
||||
|
@ -195,7 +195,7 @@ namespace _espe.conf
|
|||
),
|
||||
"email_sending": (
|
||||
((node_email_sending) => {
|
||||
const kind : string = (node_email_sending["kind"] ?? "regular");
|
||||
const kind : string = (node_email_sending["kind"] ?? "console");
|
||||
const data_raw = (node_email_sending["data"] ?? {});
|
||||
switch (kind) {
|
||||
case "regular": {
|
||||
|
@ -291,8 +291,8 @@ namespace _espe.conf
|
|||
),
|
||||
"name_index": (
|
||||
((node_settings_password_policy) => ({
|
||||
"veil": (node_settings_password_policy["veil"] ?? false),
|
||||
"salt": (node_settings_password_policy["salt"] ?? null),
|
||||
"veil": (node_settings_password_policy["veil"] ?? true),
|
||||
"salt": (node_settings_password_policy["salt"] ?? ""),
|
||||
})) (node_settings["name_index"] ?? {})
|
||||
),
|
||||
"connections": (
|
||||
|
|
Loading…
Add table
Reference in a new issue