A vibe coded tangled fork which supports pijul.
at 3d9fc547e1e4f0a63b018dc80895990052b0d3a4 17 lines 355 B view raw
1package pipelines 2 3import ( 4 "net/http" 5 6 "github.com/go-chi/chi/v5" 7 "tangled.sh/tangled.sh/core/appview/middleware" 8) 9 10func (p *Pipelines) Router(mw *middleware.Middleware) http.Handler { 11 r := chi.NewRouter() 12 r.Get("/", p.Index) 13 r.Get("/{pipeline}/workflow/{workflow}", p.Workflow) 14 r.Get("/{pipeline}/workflow/{workflow}/logs", p.Logs) 15 16 return r 17}