Version bump; remove logging

This commit is contained in:
Daniel J. Summers 2018-05-27 19:46:55 -05:00
parent 6424cde1b6
commit 650bda6bc5
2 changed files with 2 additions and 6 deletions

View File

@ -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)

View File

@ -1,6 +1,6 @@
{
"name": "my-prayer-journal",
"version": "0.9.3",
"version": "0.9.5",
"description": "myPrayerJournal - Front End",
"author": "Daniel J. Summers <daniel@bitbadger.solutions>",
"private": true,