diff --git a/CHANGES.md b/CHANGES.md index 9c621028cd..59b183f616 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -36,6 +36,7 @@ - Fix line-height/letter-spacing inputs behaviour [Taiga #2331](https://tree.taiga.io/project/penpot/issue/2331) - Fix dotted style in strokes [Taiga #2312](https://tree.taiga.io/project/penpot/issue/2312) - Fix problem when resizing texts inside groups [Taiga #2310](https://tree.taiga.io/project/penpot/issue/2310) +- Fix problem with multiple exports [Taiga #2468](https://tree.taiga.io/project/penpot/issue/2468) ### :arrow_up: Deps updates ### :heart: Community contributions by (Thank you!) diff --git a/exporter/src/app/http/export.cljs b/exporter/src/app/http/export.cljs index e1551c52c6..493f53908b 100644 --- a/exporter/src/app/http/export.cljs +++ b/exporter/src/app/http/export.cljs @@ -80,9 +80,11 @@ (p/then (fn [results] (reduce #(zip/add! %1 (:filename %2) (:content %2)) (zip/create) results))) (p/then (fn [fzip] + (.generateAsync ^js fzip #js {:type "uint8array"}))) + (p/then (fn [data] {:status 200 :headers {"content-type" "application/zip"} - :body (.generateNodeStream ^js fzip)}))))) + :body data}))))) (defn- perform-export [params]