Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

fix: force video assets to never use the cache

Gabe Kangas0ae664b4d5b0
diff --git a/web/next.config.js b/web/next.config.js
index df333c91f0..af95b9f4a4 100644
--- a/web/next.config.js
+++ b/web/next.config.js
@@ -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/**/*'],