From 60e975a456800638d4f7c798bf77ab91b7352b3a Mon Sep 17 00:00:00 2001 From: kekskurse Date: Sun, 16 Jan 2022 13:42:04 +0100 Subject: [PATCH] SMS --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index e967fea..b537417 100644 --- a/main.go +++ b/main.go @@ -53,7 +53,7 @@ func main() { }) sms := sms77api.SmsBaseParams{ - Text: "Something", + Text: "Jemand greift auf deine Position zu", To: "004917655424258", From: "Notfall-Portal", } @@ -67,6 +67,7 @@ func main() { } active = true activeSince = time.Now() + http.Redirect(writer, request, "/", http.StatusSeeOther) }) http.HandleFunc("/json", func(writer http.ResponseWriter, request *http.Request) {