Skip to content

Commit

Permalink
Merge pull request #27 from Reasno/patch-2
Browse files Browse the repository at this point in the history
修正上次提交的错误
  • Loading branch information
shiguanghuxian authored Aug 27, 2019
2 parents 2b91c0c + f122b71 commit ba2cf5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (p *Program) startAPI() {
}

// v1 api
var apiV1 *RouterGroup
var apiV1 *gin.RouterGroup
if len(accounts) > 0 {
apiV1 = router.Group("/v1", gin.BasicAuth(accounts))
} else {
Expand Down

0 comments on commit ba2cf5d

Please sign in to comment.