From: Alec Armbruster <35377827+alectrocute@users.noreply.github.com> Date: Fri, 30 Jun 2023 13:50:19 +0000 (-0400) Subject: fix service worker path X-Git-Url: http://these/git/readmes/%7B%60%24%7BarchiveTodayUrl%7D/%7B%7D/%22%7B%7D/%22?a=commitdiff_plain;h=1b7a9dcb8b35950844bc6ef8a811b782255079ca;p=lemmy-ui.git fix service worker path --- 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,