|
@@ -210,7 +210,7 @@ func (s *Manager) HandleOPGServing(w http.ResponseWriter, r *http.Request, share
|
|
|
draw.Draw(resultopg, resultopg.Bounds(), resizedThumb, image.Point{-(resultopg.Bounds().Dx() - resizedThumb.Bounds().Dx() - 90), -60}, draw.Over)
|
|
|
}
|
|
|
|
|
|
- w.Header().Set("Content-Type", "image/jpeg") // <-- set the content-type header
|
|
|
+ w.Header().Set("Content-Type", "image/jpeg")
|
|
|
jpeg.Encode(w, resultopg, nil)
|
|
|
|
|
|
}
|