Fixed index template name

This commit is contained in:
James Mills 2017-07-09 10:09:10 -07:00
parent b14f88c8d0
commit 0069622991
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6

View File

@ -283,7 +283,7 @@ func NewServer(bind string, config Config) *Server {
// Templates
box := rice.MustFindBox("templates")
indexTemplate := template.New("view")
indexTemplate := template.New("index")
template.Must(indexTemplate.Parse(box.MustString("index.html")))
template.Must(indexTemplate.Parse(box.MustString("base.html")))