about summary refs log tree commit diff
path: root/src/http/http.go
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-03-22 15:47:40 +0100
committerEmile <hanemile@protonmail.com>2020-03-22 15:47:40 +0100
commitdd7cf1f7d6036d10e5aba2e477b3b759627a9fcd (patch)
treeb70228b4ae80772a49e7bafee7972cbed6dfd9f2 /src/http/http.go
parentd7842f6a390761a269354f2bce5a11b4ff5c884b (diff)
using the logging middleware
Diffstat (limited to 'src/http/http.go')
-rw-r--r--src/http/http.go1
1 files changed, 1 insertions, 0 deletions
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()