[mirror] Scalable static site server for Git forges (like GitHub Pages)
10
fork

Configure Feed

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

Fix loss of context in POST handler.

This caused the principal to not be available when creating the new
audit record.

+1 -1
+1 -1
src/pages.go
··· 762 762 result := UpdateFromRepository(ctx, webRoot, repoURL, auth.branch) 763 763 resultChan <- result 764 764 observeSiteUpdate("webhook", &result) 765 - }(context.Background()) 765 + }(r.Context()) 766 766 767 767 var result UpdateResult 768 768 select {