From 53a5cb78959ffcabafcc91e3d13520633f6ddd40 Mon Sep 17 00:00:00 2001 From: jbergner Date: Thu, 18 Sep 2025 11:40:57 +0200 Subject: [PATCH] =?UTF-8?q?update=20f=C3=BCr=20SH?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 - main.go | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2817734..f6d1caf 100644 --- a/README.md +++ b/README.md @@ -1,2 +1 @@ # duidreader - diff --git a/main.go b/main.go index c153df7..1df58e2 100644 --- a/main.go +++ b/main.go @@ -277,8 +277,8 @@ func main() { gh = append(gh, bh.IAID) } - //host, _ := os.Hostname() - host := "PC1020" + host, _ := os.Hostname() + //host := "PC1020" p := payload{ Hostname: host, DUIDs: make([]string, len(raw)), @@ -292,7 +292,7 @@ func main() { body, _ := json.Marshal(p) // --- HTTP senden --- - url := "http://localhost:8080/register" // <-- ggf. anpassen + url := "https://client-ipv6.stadt-hilden.de/register" // <-- ggf. anpassen req, _ := http.NewRequest(http.MethodPost, url, bytes.NewReader(body)) req.Header.Set("Content-Type", "application/json")