4ef5883f by astaxie

if template not exist

1 parent e467a6ed
Showing 1 changed file with 4 additions and 1 deletions
......@@ -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()
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!