added log statement to APIHandler
All checks were successful
/ push_to_registry (push) Successful in 51s

This commit is contained in:
2026-02-02 22:06:42 +01:00
parent 21f512c2d7
commit 33fe4b2b80

View File

@@ -42,6 +42,7 @@ func generatePassword() string {
} }
func passwordHandler(w http.ResponseWriter, r *http.Request) { func passwordHandler(w http.ResponseWriter, r *http.Request) {
log.Printf("APIHandler called from %s\n", r.RemoteAddr)
password := generatePassword() password := generatePassword()
fmt.Fprint(w, password) fmt.Fprint(w, password)
} }