프로세스 재시작 지원

This commit is contained in:
2023-06-27 09:44:56 +09:00
parent 72e94ccfc3
commit 01b4782e78
7 changed files with 68 additions and 61 deletions

View File

@ -157,10 +157,10 @@ func (h *houstonHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
var operation string
if r.Method == "POST" {
operation = r.FormValue("operation")
logger.Println("api called :", userinfo, r.Form)
logger.Println("api called :", userinfo["email"], r.Form)
} else {
operation = r.URL.Query().Get("operation")
logger.Println("api called :", userinfo, r.URL.Query())
logger.Println("api called :", userinfo["email"], r.URL.Query())
}
if len(operation) == 0 {