mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
PWA: Don't cache static assets in service worker #425
Can be enabled later if needed.
This commit is contained in:
@@ -79,7 +79,7 @@ const config = {
|
||||
new OfflinePlugin({
|
||||
relativePaths: false,
|
||||
publicPath: "/",
|
||||
excludes: ["**/*.txt", "**/share.*"],
|
||||
excludes: ["**/*.txt", "**/*.css", "**/*.js", "**/*.*"],
|
||||
rewrites: function (asset) {
|
||||
return "/static/build/" + asset;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user