Commit 3c1d23bc authored by astaxie's avatar astaxie

#207

parent 95307a3d
......@@ -71,14 +71,12 @@ func Run() {
go GlobalSessions.GC()
}
if AutoRender {
err := BuildTemplate(ViewsPath)
if err != nil {
if RunMode == "dev" {
Warn(err)
}
}
}
middleware.VERSION = VERSION
middleware.AppName = AppName
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment