feat(template): add Fileserver for download
Some checks failed
build / Go-Build (push) Failing after 12m37s

This commit is contained in:
2026-02-08 22:46:58 +01:00
parent 741b196497
commit 1031ad7e8c
3 changed files with 28 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ func HandleCommandline() {
} else if help {
flag.PrintDefaults()
} else {
svg.Storage = svg.NewFileStorage(datapath)
svg.Storage = svg.NewFileStorage(datapath, "public")
server.PrepareHTTP()
server.Start()
}