aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index de87066..d508957 100644
--- a/main.go
+++ b/main.go
@@ -78,6 +78,7 @@ func (t *Tool) execute(in io.Reader, w http.ResponseWriter) {
w.Header().Add("Content-Type", t.ContentType)
io.Copy(base64.NewEncoder(base64.StdEncoding, w), buf)
} else {
+ w.Header().Add("Content-Type", "image/svg+xml")
io.Copy(w, buf)
}
} else {