From eb727d5f0abce7bb9b888727cf8393ab1239a8b0 Mon Sep 17 00:00:00 2001 From: John Leider Date: Thu, 21 Mar 2024 20:10:53 -0500 Subject: [PATCH] docs(service-worker): ensure cache consistency --- packages/docs/src/service-worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/src/service-worker.js b/packages/docs/src/service-worker.js index b2524c0c55c..4f2c7f5761e 100644 --- a/packages/docs/src/service-worker.js +++ b/packages/docs/src/service-worker.js @@ -208,7 +208,7 @@ function createCacheKey (entry) { return { cacheKey: cacheKeyUrl.href, - url: new URL(url, location.href).href, + url: cacheKeyUrl.href, } }