dev (backend-http): request log
This commit is contained in:
parent
91110489fb
commit
4821391af9
1 changed files with 3 additions and 0 deletions
|
|
@ -76,6 +76,9 @@ func main() {
|
|||
return
|
||||
}
|
||||
|
||||
log.Printf("Request: %v - %v ", r.Method, r.URL.Path)
|
||||
|
||||
|
||||
switch r.URL.Path {
|
||||
case "/":
|
||||
w.WriteHeader(http.StatusOK)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue