diff options
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") |
