From 4418e009e0fd6a468d1e1fa7f00bec3a879d7912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20P=C3=A9rez?= Date: Tue, 28 Jan 2025 22:36:12 +0100 Subject: [PATCH] missing extension --- core/cmd/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/cmd/main.go b/core/cmd/main.go index ffabb91..a6f16ff 100644 --- a/core/cmd/main.go +++ b/core/cmd/main.go @@ -14,7 +14,7 @@ import ( "github.com/zepyrshut/rating-orama/internal/repository" ) -const version = "0.2.1-beta.20250128-24" +const version = "0.2.2-beta.20250128-25" const appName = "rating-orama" func init() { @@ -28,7 +28,7 @@ var database embed.FS var templates embed.FS func main() { - engine := html.NewFileSystem(http.FS(templates), ".gotmpl") + engine := html.NewFileSystem(http.FS(templates), ".html") engine.Directory = "templates" app := app.NewExtendedApp(appName, version, ".env")