This commit is contained in:
lbenedar
2026-03-06 16:46:52 +03:00
parent c3294de4c6
commit 79d465bd7b
5 changed files with 96 additions and 2 deletions

View File

@@ -236,3 +236,7 @@ func (app *application) userLogin(w http.ResponseWriter, r *http.Request) {
data.Form = userLoginForm{}
app.render(w, http.StatusOK, "login.tmpl", data)
}
func ping(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("OK"))
}