fix service worker path
This commit is contained in:
parent
da45ffb46b
commit
1b7a9dcb8b
1 changed files with 0 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue