]> Untitled Git - lemmy-ui.git/commitdiff
fix service worker path
authorAlec Armbruster <35377827+alectrocute@users.noreply.github.com>
Fri, 30 Jun 2023 13:50:19 +0000 (09:50 -0400)
committerAlec Armbruster <35377827+alectrocute@users.noreply.github.com>
Fri, 30 Jun 2023 13:50:19 +0000 (09:50 -0400)
webpack.config.js

index 0c9806dd549c1b36d424b52214eaf300c941ef45..a67ed2ecf12d30ace63cab0975f1a60960860f69 100644 (file)
@@ -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,