feat: add some log
All checks were successful
Build and Push Server / build-and-push (push) Successful in 13m1s
All checks were successful
Build and Push Server / build-and-push (push) Successful in 13m1s
This commit is contained in:
@@ -98,6 +98,8 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
target := cleanURLLike(reqPath)
|
||||
|
||||
fmt.Printf("[serve] %s %s\n", r.Method, target)
|
||||
|
||||
switch r.Method {
|
||||
case http.MethodGet:
|
||||
h.get(w, target)
|
||||
|
||||
Reference in New Issue
Block a user