stage_ui registration password top-level v2.2.6
This commit is contained in:
parent
7bd62ab983
commit
d35541a4ca
|
|
@ -39,7 +39,7 @@ APP_DIR = "/opt/iomatex-console"
|
||||||
PUBLIC_DIR = os.path.join(APP_DIR, "public")
|
PUBLIC_DIR = os.path.join(APP_DIR, "public")
|
||||||
PROVIDERS_DIR = os.path.join(APP_DIR, "providers.d")
|
PROVIDERS_DIR = os.path.join(APP_DIR, "providers.d")
|
||||||
CONFIG_PATH = "/etc/iomatex/console.json"
|
CONFIG_PATH = "/etc/iomatex/console.json"
|
||||||
UI_VERSION = "V 2.2.5"
|
UI_VERSION = "V 2.2.6"
|
||||||
|
|
||||||
DEFAULT_CONFIG = {
|
DEFAULT_CONFIG = {
|
||||||
"bind": "0.0.0.0",
|
"bind": "0.0.0.0",
|
||||||
|
|
|
||||||
|
|
@ -460,6 +460,7 @@ def _normalize_registration_payload(server_state, persisted=None, source="mqtt",
|
||||||
"device_name": _text_or_default(device_name),
|
"device_name": _text_or_default(device_name),
|
||||||
"server": _text_or_default(host),
|
"server": _text_or_default(host),
|
||||||
"host": _text_or_default(host),
|
"host": _text_or_default(host),
|
||||||
|
"password": _text_or_default(password),
|
||||||
"organization": _text_or_default(payload.get("organization")),
|
"organization": _text_or_default(payload.get("organization")),
|
||||||
"token": _text_or_default(payload.get("token")),
|
"token": _text_or_default(payload.get("token")),
|
||||||
"contract_prefix": _text_or_default(contract_prefix),
|
"contract_prefix": _text_or_default(contract_prefix),
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
{ mode: "test_by", label: "TEST BY", host: "rest.test.it-screen.by" },
|
{ mode: "test_by", label: "TEST BY", host: "rest.test.it-screen.by" },
|
||||||
{ mode: "custom", label: "Custom", host: "" }
|
{ mode: "custom", label: "Custom", host: "" }
|
||||||
];
|
];
|
||||||
const UI_VERSION = "V 2.2.5";
|
const UI_VERSION = "V 2.2.6";
|
||||||
const ITSCREEN_LOG_INITIAL_LINES = 50;
|
const ITSCREEN_LOG_INITIAL_LINES = 50;
|
||||||
const ITSCREEN_LOG_BUFFER_LIMIT = 300;
|
const ITSCREEN_LOG_BUFFER_LIMIT = 300;
|
||||||
const ITSCREEN_LOG_BATCH_MS = 250;
|
const ITSCREEN_LOG_BATCH_MS = 250;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue