Add an endpoint for returning a most-compatible logo (non-svg) used in sharing and indexing. Closes #1286

This commit is contained in:
Gabe Kangas
2021-08-27 16:20:16 -07:00
parent 734e16203e
commit 15238bf9de
3 changed files with 37 additions and 1 deletions

View File

@@ -91,7 +91,7 @@ func handleScraperMetadataPage(w http.ResponseWriter, r *http.Request) {
if err != nil {
log.Panicln(err)
}
imageURL, err := url.Parse(fmt.Sprintf("%s://%s%s", scheme, r.Host, "/logo"))
imageURL, err := url.Parse(fmt.Sprintf("%s://%s%s", scheme, r.Host, "/logo/external"))
if err != nil {
log.Panicln(err)
}