Skip to content

Commit

Permalink
Don't filter the jwt now
Browse files Browse the repository at this point in the history
  • Loading branch information
hwchiu committed Jul 25, 2018
1 parent aae158c commit b8d028c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (a *App) AppRoute() *mux.Router {
func newVersionService(sp *serviceprovider.Container) *restful.WebService {
webService := new(restful.WebService)
webService.Path("/v1/version").Consumes(restful.MIME_JSON, restful.MIME_JSON).Produces(restful.MIME_JSON, restful.MIME_JSON)
webService.Filter(validateTokenMiddleware)
// webService.Filter(validateTokenMiddleware)
webService.Route(webService.GET("/").To(handler.RESTfulServiceHandler(sp, versionHandler)))
return webService
}
Expand Down

0 comments on commit b8d028c

Please sign in to comment.