feat(gui): add enable-Web-API toggle and web port settings
- new "Web API settings" section after security settings in the Swing options panel: checkbox bound to webUI plus a port text field bound to webPort (empty -> default 4665; non-numeric or out of 0-65535 shows an invalid-port warning and aborts the save) - load handler fills both controls from the current config item - add i18n keys to klalb_zh_CN / klalb_en_US bundles - include previously missing webUI/webPort fields in KLALBControllerConfigItem equals/hashCode
This commit is contained in:
@@ -111,4 +111,8 @@ performancesettings=性能设置
|
||||
performancestrategy=性能策略
|
||||
singlecore=单核-缓存命中率优先(高能耗比,适合低功耗设备、云机)
|
||||
multifill=多核-负载按顺序填充(适合大多数物理服务器、电脑)
|
||||
multiscatter=多核-负载均匀打散分配(适合特殊的多路NUMA服务器)
|
||||
multiscatter=多核-负载均匀打散分配(适合特殊的多路NUMA服务器)
|
||||
webapisettings=Web API \u8bbe\u7f6e
|
||||
enablewebapi=\u542f\u7528 Web API
|
||||
webport=Web \u7aef\u53e3
|
||||
invaildwebport=\u65e0\u6548\u7684 Web \u7aef\u53e3\u53f7
|
||||
|
||||
Reference in New Issue
Block a user