From b2af891b203ba28b74dc703e423fc7691cb3a3f1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 5 Sep 2025 07:09:47 -0500 Subject: builds. puts http headers in protobuf --- http.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'http.go') diff --git a/http.go b/http.go index f07c495..4d9a5d6 100644 --- a/http.go +++ b/http.go @@ -139,6 +139,11 @@ func okHandler(w http.ResponseWriter, r *http.Request) { return } + if strings.HasPrefix(route, "/patches/") { + handlePatches(w, r) + return + } + if route == "/goReference.svg" { w.Header().Set("Content-Type", "image/svg+xml") writeFile(w, "goReference.svg") -- cgit v1.2.3