Add port and hostname config options

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2026-02-26 15:00:39 +01:00
committed by xytovl
parent 0f21191e9b
commit 1e6937d4a4
8 changed files with 76 additions and 6 deletions
+6
View File
@@ -204,6 +204,12 @@ configuration::configuration()
if (auto it = json.find("tcp-only"); it != json.end())
tcp_only = *it;
if (auto it = json.find("port"); it != json.end())
port = *it;
if (auto it = json.find("hostname"); it != json.end())
hostname = *it;
if (auto it = json.find("publish-service"); it != json.end())
{
publication = *it;