Merge branch 'dev' into feat/template
All checks were successful
build / Go-Build (push) Successful in 1m8s
build / Go-Build (pull_request) Successful in 28s

This commit is contained in:
2026-02-12 19:46:30 +01:00
6 changed files with 134 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ func HandleCommandline() {
flag.Parse()
if !help {
svg.Storage = svg.NewFileStorage(datapath, "public")
svg.Storage = svg.NewFileStorage(datapath, "public", "fonts")
if err := database.OpenSQLite(datapath); err != nil {
log.Fatal("Failed opening DB:\n", err)
return
@@ -43,6 +43,7 @@ func HandleCommandline() {
} else if help {
flag.PrintDefaults()
} else {
svg.Storage = svg.NewFileStorage(datapath, "public", "fonts")
server.PrepareHTTP()
server.Start()
}