Match detail pages: band photo, contact pills, phone, pronunciation playback

This commit is contained in:
Ian Gulliver
2026-08-15 21:35:15 -07:00
parent 6c0b1d34c5
commit 877c989539
3 changed files with 104 additions and 30 deletions
+2 -2
View File
@@ -233,11 +233,11 @@ func (s *Store) serve(w http.ResponseWriter, r *http.Request) {
return
}
w.Header().Set("Content-Type", "image/jpeg")
w.Write(e.thumb)
http.ServeContent(w, r, "", time.Time{}, bytes.NewReader(e.thumb))
return
}
w.Header().Set("Content-Type", e.mimeType)
w.Write(e.data)
http.ServeContent(w, r, "", time.Time{}, bytes.NewReader(e.data))
}
func thumbnail(src []byte) ([]byte, error) {