feat(main): log changes
This commit is contained in:
parent
8df3bd9c63
commit
95803010d5
1 changed files with 2 additions and 0 deletions
2
main.go
2
main.go
|
@ -64,6 +64,8 @@ func (a *App) handler(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
log.Printf("updated to v4:%s v6:%s", v4, v6)
|
||||
|
||||
w.WriteHeader(http.StatusOK)
|
||||
fmt.Fprintf(w, "updated")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue