mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
fix(admin): maybe help with firefox+service workers? Re: #3097
This commit is contained in:
parent
ca2bc96348
commit
670eae10db
1 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,14 @@ const withPWA = require('next-pwa')({
|
|||
urlPattern: /\.(?:ts|m3u8)$/i,
|
||||
handler: 'NetworkOnly',
|
||||
},
|
||||
{
|
||||
urlPattern: /^\/admin\/.*$/,
|
||||
handler: 'NetworkOnly',
|
||||
},
|
||||
{
|
||||
urlPattern: /^\/api\/.*$/,
|
||||
handler: 'NetworkOnly',
|
||||
},
|
||||
],
|
||||
register: true,
|
||||
skipWaiting: true,
|
||||
|
|
Loading…
Reference in a new issue