SMS
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kekskurse 2022-01-16 13:42:04 +01:00
parent 7dc53a210e
commit 60e975a456
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4

View file

@ -53,7 +53,7 @@ func main() {
}) })
sms := sms77api.SmsBaseParams{ sms := sms77api.SmsBaseParams{
Text: "Something", Text: "Jemand greift auf deine Position zu",
To: "004917655424258", To: "004917655424258",
From: "Notfall-Portal", From: "Notfall-Portal",
} }
@ -67,6 +67,7 @@ func main() {
} }
active = true active = true
activeSince = time.Now() activeSince = time.Now()
http.Redirect(writer, request, "/", http.StatusSeeOther)
}) })
http.HandleFunc("/json", func(writer http.ResponseWriter, request *http.Request) { http.HandleFunc("/json", func(writer http.ResponseWriter, request *http.Request) {