From d154992233efd588eef8924c51545e03831f88b2 Mon Sep 17 00:00:00 2001 From: snider Date: Wed, 15 Oct 2025 22:28:55 +0100 Subject: [PATCH] Update API server description and add server endpoints in ApiServer configuration --- src/api/ApiServer.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/api/ApiServer.cpp b/src/api/ApiServer.cpp index a209f731..19b16dc6 100644 --- a/src/api/ApiServer.cpp +++ b/src/api/ApiServer.cpp @@ -58,13 +58,14 @@ void ApiServer::run() { builder .setTitle("Lethean Blockchain API") - .setDescription("New API layer for Lethean") + .setDescription("OpenAPI for Lethean Blockchain") .setVersion(PROJECT_VERSION) .setContactName("Lethean") .setContactUrl("https://lt.hn/") .setLicenseName("EUPL-1.2") .setLicenseUrl("https://joinup.ec.europa.eu/software/page/eupl/licence-eupl") - .addServer("http://127.0.0.1:8000", "server on localhost"); + .addServer("http://" + ApiServer::m_host + ":" + std::to_string(ApiServer::m_port), "Local Daemon") + .addServer("http://seed.lethean.io:36943", "Seed Server"); return builder.build(); }());