Remove encoding
This commit is contained in:
parent
05d82767ad
commit
79cd2adfd4
1
main.go
1
main.go
@ -116,7 +116,6 @@ func getTweet(w http.ResponseWriter, r *http.Request) {
|
|||||||
ParseFiles("tweet.svg.tmpl"))
|
ParseFiles("tweet.svg.tmpl"))
|
||||||
|
|
||||||
w.Header().Set("Content-type", "image/svg+xml")
|
w.Header().Set("Content-type", "image/svg+xml")
|
||||||
w.Header().Set("content-encoding", "br")
|
|
||||||
err = t.Execute(w, tweet)
|
err = t.Execute(w, tweet)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user