Files
Fnos-Havline/havline/wizard/config
T

43 lines
1.0 KiB
Plaintext
Raw Normal View History

[
{
"stepTitle": "端口设置",
"items": [
{
"type": "text",
"field": "wizard_nginx_http_port",
"label": "HTTP 反向代理端口",
"initValue": "18080",
"rules": [
{ "required": true, "message": "请输入 HTTP 端口" },
{ "pattern": "^[0-9]+$", "message": "端口必须是数字" }
]
},
{
"type": "text",
"field": "wizard_nginx_https_port",
"label": "HTTPS 反向代理端口",
"initValue": "9443",
"rules": [
{ "required": true, "message": "请输入 HTTPS 端口" },
{ "pattern": "^[0-9]+$", "message": "端口必须是数字" }
]
}
]
},
{
"stepTitle": "基础设置",
"items": [
{
"type": "select",
"field": "wizard_timezone",
"label": "时区",
"initValue": "Asia/Shanghai",
"options": [
{ "label": "Asia/Shanghai", "value": "Asia/Shanghai" },
{ "label": "UTC", "value": "UTC" }
]
}
]
}
]