refactor: embed web files

Signed-off-by: skidoodle <contact@albert.lol>
This commit is contained in:
2026-01-18 20:53:56 +01:00
parent 954aec6d8e
commit 73ee7a9a14
14 changed files with 47 additions and 26 deletions
+3 -1
View File
@@ -12,6 +12,7 @@ import (
"syscall"
"github.com/skidoodle/safebin/internal/app"
"github.com/skidoodle/safebin/web"
)
func main() {
@@ -46,7 +47,8 @@ func main() {
application := &app.App{
Conf: cfg,
Logger: logger,
Tmpl: app.ParseTemplates(),
Tmpl: app.ParseTemplates(web.Assets),
Assets: web.Assets,
DB: db,
}