Browse Source

fix the typo

pull/155/head
astaxie 6 years ago
parent
commit
0ee483de97
  1. 2
      g_docs.go

2
g_docs.go

@ -55,7 +55,7 @@ var rootapi swagger.ResourceListing
var apilist map[string]*swagger.APIDeclaration
func init() {
if beego.Bconfig.WebConifg.EnableDocs {
if beego.BConfig.WebConfig.EnableDocs {
err := json.Unmarshal([]byte(Rootinfo), &rootapi)
if err != nil {
beego.Error(err)

Loading…
Cancel
Save