feat(config): switch webPort to URI-style webListen address
- replace integer webPort with MultiProtocolSocketAddress webListen (default: http://0.0.0.0:4665) in controller config - rename Swing UI item to "Web API 监听地址" and validate as full URI - update WebServer binding to honor configured host and port - normalize legacy webPort integers to http://0.0.0.0:<port> on load and keep JSON API backward compatibility - update i18n keys in zh_CN and en_US resource bundles - update root klalb-config.json and AGENTS.md documentation
This commit was merged in pull request #2.
This commit is contained in:
+2
-2
@@ -56,7 +56,7 @@
|
||||
"DeviceName": "Device Name",
|
||||
"DeviceDescription": "The Description of Device",
|
||||
"webUI": true,
|
||||
"webPort": 4665,
|
||||
"webListen": "http://0.0.0.0:4665",
|
||||
"NetworkInterfaceExcepts": [],
|
||||
"Type": "KLALBController"
|
||||
},
|
||||
@@ -110,4 +110,4 @@
|
||||
},
|
||||
"Type": "SocketBridge"
|
||||
}
|
||||
]
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user