Skip to content

Commit

Permalink
Fix showing elided images
Browse files Browse the repository at this point in the history
by applying blob-processing to resolved elisions
  • Loading branch information
zampino committed Jan 17, 2024
1 parent 6146a5d commit 0b5f465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nextjournal/clerk/webserver.clj
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
(if (contains? desc :nextjournal/content-type)
{:body (v/->value desc)
:content-type (:nextjournal/content-type desc)}
{:body (v/->edn desc)}))
{:body (v/->edn (v/process-blobs {:blob-mode :lazy-load :blob-id blob-id} desc))}))
{:status 404}))

(defn extract-blob-opts [{:as _req :keys [uri query-string]}]
Expand Down

0 comments on commit 0b5f465

Please sign in to comment.