diff --git a/http.go b/http.go index 02bcc65..e5cfe4d 100644 --- a/http.go +++ b/http.go @@ -6,7 +6,7 @@ import ( ) func httpHandleFunc(urlPath string, filepath string, contentType string) { - logger("-->" + urlPath + " " + filepath + " " + contentType) + logger("--> " + readHttpYML() + "/" + urlPath + " " + filepath + " " + contentType) http.HandleFunc("/"+urlPath, func(w http.ResponseWriter, r *http.Request) { w.Header().Add("Content-Type", contentType) @@ -15,6 +15,7 @@ func httpHandleFunc(urlPath string, filepath string, contentType string) { } func httpHandleFuncWithPOST(urlPath string, filepath string, contentType string) { + logger("--> " + readHttpYML() + "/" + urlPath + " " + filepath + " " + contentType) s := new(submit) s.data = "null" http.HandleFunc("/"+urlPath, func(w http.ResponseWriter, r *http.Request) {