Template
continuous-integration/drone/push Build is passing Details

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")
}