From 650bda6bc5f4d5636d5700fd919dce753755b16a Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Sun, 27 May 2018 19:46:55 -0500 Subject: [PATCH] Version bump; remove logging --- src/api/routes/router.go | 6 +----- src/app/package.json | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/api/routes/router.go b/src/api/routes/router.go index 47dc95e..ea249b4 100644 --- a/src/api/routes/router.go +++ b/src/api/routes/router.go @@ -11,7 +11,6 @@ import ( "github.com/auth0/go-jwt-middleware" jwt "github.com/dgrijalva/jwt-go" "github.com/go-ozzo/ozzo-routing" - "github.com/go-ozzo/ozzo-routing/access" "github.com/go-ozzo/ozzo-routing/fault" ) @@ -108,10 +107,7 @@ func authMiddleware(c *routing.Context) error { func NewRouter(cfg *AuthConfig) *routing.Router { authCfg = cfg router := routing.New() - router.Use( - access.Logger(log.Printf), // TODO: remove before go-live - fault.Recovery(log.Printf), - ) + router.Use(fault.Recovery(log.Printf)) for _, route := range routes { if route.IsPublic { router.To(route.Method, route.Pattern, route.Func) diff --git a/src/app/package.json b/src/app/package.json index 56dd428..412069f 100644 --- a/src/app/package.json +++ b/src/app/package.json @@ -1,6 +1,6 @@ { "name": "my-prayer-journal", - "version": "0.9.3", + "version": "0.9.5", "description": "myPrayerJournal - Front End", "author": "Daniel J. Summers ", "private": true,