Skip to content

Commit

Permalink
Merge branch 'master' of github.com:josephspurrier/govueapp
Browse files Browse the repository at this point in the history
  • Loading branch information
josephspurrier committed May 24, 2019
2 parents 806d713 + 4dde1e7 commit e25c4aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Go Report Card](https://goreportcard.com/badge/github.com/josephspurrier/govueapp)](https://goreportcard.com/report/github.com/josephspurrier/govueapp)
[![Build Status](https://travis-ci.org/josephspurrier/govueapp.svg)](https://travis-ci.org/josephspurrier/govueapp)
[![Coverage Status](https://coveralls.io/repos/github/josephspurrier/govueapp/badge.svg?branch=master&timestamp=20190520-01)](https://coveralls.io/github/josephspurrier/govueapp?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/josephspurrier/govueapp/badge.svg?branch=master&timestamp=20190521-01)](https://coveralls.io/github/josephspurrier/govueapp?branch=master)

[![Swagger Validator](http://online.swagger.io/validator?url=https://raw.githubusercontent.com/josephspurrier/govueapp/master/src/app/api/static/swagger/swagger.json)](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/josephspurrier/govueapp/master/src/app/api/static/swagger/swagger.json)

Expand Down Expand Up @@ -170,4 +170,4 @@ npm install js-cookie --save

# Reference: https://vuex.vuejs.org/guide/getters.html
# Getters for the vuex state.
```
```
2 changes: 1 addition & 1 deletion src/app/api/middleware/jwt/jwt.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (c *Config) Handler(next http.Handler) http.Handler {

// IsWhitelisted returns true if the request is in the whitelist. If only an
// asterisk is found in the whitelist, allow all routes. If an asterisk is
// found somwhere in the page, then whitelist only the matching paths.
// found in the page string, then whitelist only the matching paths.
func IsWhitelisted(method string, path string, arr []string) (found bool) {
s := fmt.Sprintf("%v %v", method, path)
for _, i := range arr {
Expand Down

0 comments on commit e25c4aa

Please sign in to comment.