From 29f41d19cf74427666f676d7cb695368780bbd5b Mon Sep 17 00:00:00 2001 From: jesben Date: Thu, 10 Aug 2023 21:45:26 +0200 Subject: [PATCH] Update ngsw-worker.js for missing await the other safeFetch has await --- ngsw-worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngsw-worker.js b/ngsw-worker.js index b2b31de3c2..d3bea401b1 100755 --- a/ngsw-worker.js +++ b/ngsw-worker.js @@ -855,7 +855,7 @@ ${error.stack}`; } async safeFetch(req) { try { - return this.scope.fetch(req); + return await this.scope.fetch(req); } catch (e) { return this.adapter.newResponse(null, { status: 504,