git-preview @ main

static git web frontend but with images and html previews + code truncation

clean up long line
Thu, 22 Dec 2022
1 files changed, 6 insertions(+), 3 deletions(-)
M main.go

@@ -20,9 +20,12 @@ if err != nil {

log.Fatal(err) } - err = UnveilPaths([]string{c.Dirs.Static, c.Repo.ScanPath, c.Dirs.Templates}, "r") - if err != nil { - log.Fatalf("unveil: %w", err) + if err := UnveilPaths([]string{ + c.Dirs.Static, + c.Repo.ScanPath, + c.Dirs.Templates},

… preview truncated