From 1b7a9dcb8b35950844bc6ef8a811b782255079ca Mon Sep 17 00:00:00 2001 From: Alec Armbruster <35377827+alectrocute@users.noreply.github.com> Date: Fri, 30 Jun 2023 09:50:19 -0400 Subject: [PATCH] fix service worker path --- webpack.config.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 0c9806d..a67ed2e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -111,9 +111,6 @@ const createClientConfig = (env, mode) => { new ServiceWorkerPlugin({ enableInDevelopment: mode !== "development", // this may seem counterintuitive, but it is correct workbox: { - modifyURLPrefix: { - "/": `/static/${env.COMMIT_HASH}/`, - }, cacheId: "lemmy", include: [/(assets|styles|js)\/.+\..+$/g], inlineWorkboxRuntime: true, -- 2.44.1