Template
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kekskurse 2022-01-15 01:04:36 +01:00
parent 9df635ebe9
commit 7b1e505e95
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View file

@ -1,3 +1,4 @@
.env
.idea/
tmp/
tmp/
kuvia

View file

@ -123,7 +123,7 @@ func main() {
FileSystem: http.FS(public),
},
))
templateFS, err := template.EmbedFS(templates, "templates/", []string{".tmpl"})
templateFS, err := template.EmbedFS(templates, "templates", []string{".tmpl"})
if err != nil {
log.Fatal().Err(err).Msg("Cant creat EmbedFS for templates")
}