mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-08-04 09:44:02 +00:00
Add sw caching for logo/favicon.
This commit is contained in:
@@ -9,7 +9,11 @@ module.exports = {
|
||||
workboxOptions: {
|
||||
navigateFallback: 'index.html',
|
||||
skipWaiting: true,
|
||||
importWorkboxFrom: 'local'
|
||||
importWorkboxFrom: 'local',
|
||||
runtimeCaching: [{
|
||||
urlPattern: /\.(?:png|svg|ico)$/,
|
||||
handler: 'CacheFirst',
|
||||
}],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user