The code and data behind xeiaso.net
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

cmd/xesite: fuck!

Signed-off-by: Xe Iaso <me@xeiaso.net>

Xe Iaso a30ad1ee 4e2eb873

-3
-3
cmd/xesite/main.go
··· 3 3 import ( 4 4 "context" 5 5 "flag" 6 - "fmt" 7 6 "log" 8 7 "log/slog" 9 8 "net" ··· 13 12 14 13 "github.com/donatj/hmacsig" 15 14 "github.com/facebookgo/flagenv" 16 - "github.com/go-git/go-git/v5" 17 15 _ "github.com/joho/godotenv/autoload" 18 16 "tailscale.com/hostinfo" 19 17 "tailscale.com/tsnet" ··· 112 110 mux.HandleFunc("/static/manifest.json", func(w http.ResponseWriter, r *http.Request) { 113 111 http.Redirect(w, r, "/static/site.webmanifest", http.StatusMovedPermanently) 114 112 }) 115 - 116 113 117 114 gh := &GitHubWebhook{fs: fs} 118 115 s := hmacsig.Handler256(gh, *githubSecret)