mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-07-17 08:26:08 -04:00
fix detection of https port changed after set in System Admin
This commit is contained in:
@ -494,7 +494,7 @@ public class SettingsAck_p {
|
||||
// change https port
|
||||
if (post.containsKey("port.ssl")) {
|
||||
int port = post.getInt("port.ssl", 8443);
|
||||
if (port > 0 && port != env.getLocalPort("port", 8090)) {
|
||||
if (port > 0 && port != env.getConfigInt("port.ssl", 8443)) {
|
||||
env.setConfig("port.ssl", port);
|
||||
}
|
||||
prop.put("info_port.ssl", port);
|
||||
|
Reference in New Issue
Block a user