Merge branch 'dev' into feat/template
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user