git-preview @ main

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

unveil: remove git executable and /dev/null
Sat, 24 Dec 2022
1 files changed, 0 insertions(+), 5 deletions(-)
M main.go

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

log.Fatal(err) } - if err := Unveil("/usr/local/bin/git", "rx"); err != nil { - log.Fatalf("unveil: %s", err) - } - if err := UnveilPaths([]string{ - "/dev/null", c.Dirs.Static,

… preview truncated