diff --git a/internal/api/entry.go b/internal/api/entry.go index d08eb721..e6158c30 100644 --- a/internal/api/entry.go +++ b/internal/api/entry.go @@ -336,7 +336,7 @@ func (h *handler) fetchContent(w http.ResponseWriter, r *http.Request) { return } - json.OK(w, r, map[string]string{"content": mediaproxy.RewriteDocumentWithRelativeProxyURL(h.router, entry.Content)}) + json.OK(w, r, map[string]string{"content": mediaproxy.RewriteDocumentWithRelativeProxyURL(h.router, entry.Content), "reading_time": entry.ReadingTime}) } func (h *handler) flushHistory(w http.ResponseWriter, r *http.Request) {