public String getBaseApiUrl()

in src/main/java/org/openvasp/core/service/BaseService.java [31:40]


    public String getBaseApiUrl() {
        try {
            String host = InetAddress.getLocalHost().getHostName();
            String port = environment.getProperty("local.server.port");
            return String.format("%s://%s:%s/%s", API_PROTOCOL, host, port, API_VERSION);
        } catch (UnknownHostException e) {
            throw new RuntimeException(e);
        }

    }