diff options
| author | Jeff Carr <[email protected]> | 2025-09-05 07:09:47 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-05 07:24:24 -0500 |
| commit | b2af891b203ba28b74dc703e423fc7691cb3a3f1 (patch) | |
| tree | 411250f05e0a257da9e71e74e7e32f7cfa4cbdc6 /http.go | |
| parent | 1442d4f6c5b2940a1bafd0fe05fe5bed32015344 (diff) | |
builds. puts http headers in protobufv0.0.21
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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") |
