This commit is contained in:
parent
7dc53a210e
commit
60e975a456
1 changed files with 2 additions and 1 deletions
3
main.go
3
main.go
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue