summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/templates.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/templates.go b/src/templates.go
index 4c37af1..eadcafd 100644
--- a/src/templates.go
+++ b/src/templates.go
@@ -4,7 +4,6 @@ import (
"embed"
"html/template"
"log"
- "os"
"strings"
"git.thomasvoss.com/euro-cash.eu/src/mintage"
@@ -34,7 +33,7 @@ var (
)
func init() {
- ents, err := os.ReadDir("src/templates")
+ ents, err := templateFS.ReadDir("templates")
if err != nil {
log.Fatalln(err)
}