fix бага с настройками почты

This commit is contained in:
2025-01-23 17:40:52 +03:00
parent 6c0c103804
commit 94208ec25c
9 changed files with 25 additions and 40 deletions

View File

@@ -4,6 +4,7 @@ import Common.Database.RepositoryRefuseException;
import Common.Passes.Pass;
import Common.Passes.PassException;
import Common.Utils.Utils_;
import _VisualDVM.Constants;
import _VisualDVM.Global;
import _VisualDVM.Repository.RepositoryServer;
import _VisualDVM.Repository.Server.ServerCode;
@@ -37,7 +38,7 @@ public abstract class RepositoryPass<S extends RepositoryServer, T> extends Pass
}
//-
protected void connect() throws Exception {
clientSocket = Utils.createClientSocket(InetAddress.getByName(Global.properties.ServerAddress),
clientSocket = Utils.createClientSocket(InetAddress.getByName(Constants.ServerAddress),
server.getPort(),
getTimeout()
);