Skip to content

Commit 0fa2256

Browse files
committed
Fix zip case with binary file that isn't downloadable
1 parent 37df117 commit 0fa2256

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/overmind/effects/zip/create-zip

1 file changed

+1
-1
lines changed

packages/app/src/app/overmind/effects/zip/create-zip/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export async function createFile(
145145
zip: JSZip,
146146
downloadBlobs: boolean = true
147147
) {
148-
if (module.isBinary) {
148+
if (module.isBinary && module.code.startsWith('http')) {
149149
if (downloadBlobs) {
150150
const code = await window
151151
.fetch(module.code)

0 commit comments

Comments
 (0)