From dd7cf1f7d6036d10e5aba2e477b3b759627a9fcd Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 22 Mar 2020 15:47:40 +0100 Subject: using the logging middleware --- src/http/http.go | 1 + 1 file changed, 1 insertion(+) (limited to 'src/http/http.go') diff --git a/src/http/http.go b/src/http/http.go index 49efdec..bca2d79 100644 --- a/src/http/http.go +++ b/src/http/http.go @@ -16,6 +16,7 @@ import ( // Server defines and runs an HTTP server func Server() { r := mux.NewRouter() + r.Use(loggingMiddleware) // static js / css hosting assets := r.PathPrefix("/assets/").Subrouter() -- cgit 1.4.1