프로세스 재시작 지원
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user