Skip to content

Commit 2895d0d

Browse files
authored
fix: Loads app even when there's no assets (#12)
1 parent 3ff6e27 commit 2895d0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__brick__/web/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
const manifest = await response.json();
157157
const assets = Object.values(manifest)
158158
.map((list) => list.map((url) => 'assets/' + url))
159-
.reduce((arr, curr) => [...arr, ...curr]);
159+
.reduce((arr, curr) => [...arr, ...curr], []);
160160

161161
beginPreloading(assets);
162162
});

0 commit comments

Comments
 (0)