mirror of
https://github.com/penpot/penpot.git
synced 2025-07-23 17:17:13 +02:00
🎉 Integrate storage/pointer-map file feature
This commit is contained in:
parent
a42d7164ad
commit
76333cec26
45 changed files with 2100 additions and 1408 deletions
|
@ -139,6 +139,7 @@
|
|||
[{:keys [body headers] :as response}]
|
||||
(let [contenttype (get headers "content-type")]
|
||||
(if (and (str/starts-with? contenttype "application/transit+json")
|
||||
(string? body)
|
||||
(pos? (count body)))
|
||||
(assoc response :body (t/decode-str body))
|
||||
response)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue