Show Query params for invalid URL's

This commit is contained in:
Deluan 2016-03-01 20:42:20 -05:00
parent 25a9320bce
commit 02a5fec6b6
2 changed files with 2 additions and 1 deletions

View file

@ -6,6 +6,7 @@ import (
)
func main() {
beego.BConfig.Log.FileLineNum = false
if beego.BConfig.RunMode == "dev" {
beego.BConfig.WebConfig.DirectoryIndex = true
beego.BConfig.WebConfig.StaticDir["/swagger"] = "swagger"