Skip to content

Commit

Permalink
添加静态URL映射
Browse files Browse the repository at this point in the history
  • Loading branch information
chanyipiaomiao committed Aug 29, 2018
1 parent 9ecd370 commit 27d810d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ func InitCli() {

beego.BConfig.RunMode = *runMode
}
beego.SetStaticPath("/api/static/download/qr", "static/download/qr")
beego.Run()

case "token":
Expand Down

0 comments on commit 27d810d

Please sign in to comment.