From bd7566a99e71b9c162aa7e9a746015054929d3bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Guti=C3=A9rrez?= Date: Tue, 4 Jul 2023 00:13:04 +0200 Subject: [PATCH] fix: Loads app even when there's no assets --- __brick__/web/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__brick__/web/index.html b/__brick__/web/index.html index cb1c2d6..4fe615d 100644 --- a/__brick__/web/index.html +++ b/__brick__/web/index.html @@ -156,7 +156,7 @@ const manifest = await response.json(); const assets = Object.values(manifest) .map((list) => list.map((url) => 'assets/' + url)) - .reduce((arr, curr) => [...arr, ...curr]); + .reduce((arr, curr) => [...arr, ...curr], []); beginPreloading(assets); });