[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": (
|
"server": (
|
||||||
((node_server) => ({
|
((node_server) => ({
|
||||||
"port": (node_server["port"] ?? 3593),
|
"port": (node_server["port"] ?? 4916),
|
||||||
"path_base": (node_server["path_base"] ?? ""),
|
"path_base": (node_server["path_base"] ?? ""),
|
||||||
})) (conf_raw["server"] ?? {})
|
})) (conf_raw["server"] ?? {})
|
||||||
),
|
),
|
||||||
|
@ -195,7 +195,7 @@ namespace _espe.conf
|
||||||
),
|
),
|
||||||
"email_sending": (
|
"email_sending": (
|
||||||
((node_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"] ?? {});
|
const data_raw = (node_email_sending["data"] ?? {});
|
||||||
switch (kind) {
|
switch (kind) {
|
||||||
case "regular": {
|
case "regular": {
|
||||||
|
@ -291,8 +291,8 @@ namespace _espe.conf
|
||||||
),
|
),
|
||||||
"name_index": (
|
"name_index": (
|
||||||
((node_settings_password_policy) => ({
|
((node_settings_password_policy) => ({
|
||||||
"veil": (node_settings_password_policy["veil"] ?? false),
|
"veil": (node_settings_password_policy["veil"] ?? true),
|
||||||
"salt": (node_settings_password_policy["salt"] ?? null),
|
"salt": (node_settings_password_policy["salt"] ?? ""),
|
||||||
})) (node_settings["name_index"] ?? {})
|
})) (node_settings["name_index"] ?? {})
|
||||||
),
|
),
|
||||||
"connections": (
|
"connections": (
|
||||||
|
|
Loading…
Add table
Reference in a new issue