From 9c0f0d0fe98c9b794e7e174b68fc7f3e8fd539fe Mon Sep 17 00:00:00 2001 From: Bojan Djurkovic Date: Thu, 7 Sep 2023 20:43:10 -0300 Subject: [PATCH] backend: add frontend request log --- backend/pkg/api/handle_frontend.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/pkg/api/handle_frontend.go b/backend/pkg/api/handle_frontend.go index 8fc9cbd2c..c725046fb 100644 --- a/backend/pkg/api/handle_frontend.go +++ b/backend/pkg/api/handle_frontend.go @@ -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