mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-25 13:51:13 +00:00
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