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