all repos — honk @ 5ca0f4998c8d02c9ac8a95cdf893c09b5d34a1b9

my fork of honk

fix wait group for real. stared right at it, didn't fix it.
Ted Unangst tedu@tedunangst.com
Fri, 15 Dec 2023 23:24:50 -0500
commit

5ca0f4998c8d02c9ac8a95cdf893c09b5d34a1b9

parent

d2fee4b857e8262b0cbb535411917f741d543227

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M web.goweb.go

@@ -2748,8 +2748,8 @@ }

} func addcspheaders(next http.Handler) http.Handler { - requestWG.Add(1) return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + requestWG.Add(1) defer requestWG.Done() policy := "default-src 'none'; script-src 'self'; connect-src 'self'; style-src 'self'; img-src 'self'; media-src 'self'" if develMode {