fix: force video assets to never use the cache
This commit is contained in:
parent
e8143c0cb3
commit
d53cd65767
@ -7,7 +7,13 @@ const runtimeCaching = require('next-pwa/cache');
|
||||
|
||||
const withPWA = require('next-pwa')({
|
||||
dest: 'public',
|
||||
runtimeCaching,
|
||||
runtimeCaching: [
|
||||
...runtimeCaching,
|
||||
{
|
||||
urlPattern: /\.(?:ts|m3u8)$/i,
|
||||
handler: 'NetworkOnly',
|
||||
},
|
||||
],
|
||||
register: true,
|
||||
skipWaiting: true,
|
||||
publicExcludes: ['!img/platformlogos/**/*', '!styles/admin/**/*'],
|
||||
|
Loading…
Reference in New Issue
Block a user