main.go aktualisiert
This commit is contained in:
2
main.go
2
main.go
@@ -307,7 +307,7 @@ func main() {
|
|||||||
body, _ := json.Marshal(p)
|
body, _ := json.Marshal(p)
|
||||||
|
|
||||||
// --- HTTP senden ---
|
// --- HTTP senden ---
|
||||||
url := getenv("DUID_REGISTER_URL", "https://client-ipv6.stadt-hilden.de/register") // <-- ggf. anpassen
|
url := getenv("DUID_REGISTER_URL", "https://dhcp-wol-clients.stadt-hilden.de/register") // <-- ggf. anpassen
|
||||||
req, _ := http.NewRequest(http.MethodPost, url, bytes.NewReader(body))
|
req, _ := http.NewRequest(http.MethodPost, url, bytes.NewReader(body))
|
||||||
req.Header.Set("Content-Type", "application/json")
|
req.Header.Set("Content-Type", "application/json")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user