fix service worker path

This commit is contained in:
Alec Armbruster 2023-06-30 09:50:19 -04:00
parent da45ffb46b
commit 1b7a9dcb8b
No known key found for this signature in database
GPG key ID: 52BC7C84E960FD1B

View 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,