Skip to content

Commit

Permalink
backend: add frontend request log
Browse files Browse the repository at this point in the history
  • Loading branch information
bojand committed Sep 7, 2023
1 parent 92bfb16 commit 9c0f0d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/pkg/api/handle_frontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ func (api *API) handleFrontendResources() http.HandlerFunc {
}

return func(w http.ResponseWriter, r *http.Request) {
fmt.Println("frontend request:", r.Method, r.URL.Path)

if isRequestToIndexFile(r) {
handleIndex(w, r)
return
Expand Down

0 comments on commit 9c0f0d0

Please sign in to comment.