~hristoast/mousikofidi

6d2799e37c5fb3a74a6305e7e7b9dc19489ee586 — Hristos N. Triantafillou a month ago 2aa588b mousikGOfidi
Middleware cleanup, and a note
1 files changed, 1 insertions(+), 2 deletions(-)

M http/router/main.go
M http/router/main.go => http/router/main.go +1 -2
@@ 37,8 37,7 @@ func Server(c *cfg.Config) {
	os.Stdout.WriteString(fmt.Sprintf(runMsg, cfg.Version, l))

	r := chi.NewRouter()
	r.Use(middleware.RequestID)
	r.Use(middleware.RealIP)
	//TODO: Support NO_COLOR: https://github.com/go-chi/chi/pull/726
	r.Use(middleware.Logger)
	r.Use(middleware.Recoverer)