Make the exportation streaming directly to response

This commit is contained in:
Andrey Antukh 2022-09-29 14:28:45 +02:00
parent 4378d71b70
commit 8c39c3af9f
2 changed files with 39 additions and 22 deletions

View file

@ -280,7 +280,7 @@
(assoc ::binf/file-ids file-ids)
(assoc ::binf/embed-assets? embed?)
(assoc ::binf/include-libraries? libs?)
(binf/export!))]
(binf/export-to-tmpfile!))]
(if clone?
(let [project-id (some-> (profile/retrieve-additional-data pool profile-id) :default-project-id)]
(binf/import!