Commit 4ef5883f authored by astaxie's avatar astaxie

if template not exist

parent e467a6ed
......@@ -220,6 +220,9 @@ func Run() {
GlobalSessions, _ = session.NewManager(SessionProvider, SessionName, SessionGCMaxLifetime)
go GlobalSessions.GC()
}
BuildTemplate(ViewsPath)
err := BuildTemplate(ViewsPath)
if err != nil {
Warn(err)
}
BeeApp.Run()
}
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