NORY-9: exclude service-worker from middleware
This commit is contained in:
parent
71d0e81ebd
commit
4fadcd012d
1 changed files with 1 additions and 1 deletions
|
@ -41,5 +41,5 @@ export async function middleware(request: NextRequest) {
|
|||
}
|
||||
|
||||
export const config = {
|
||||
matcher: '/((?!api|_next/static|_next/image|favicon.png|sitemap.xml|robots.txt).*)',
|
||||
matcher: '/((?!api|_next/static|_next/image|favicon.png|sitemap.xml|robots.txt|sw.js).*)',
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue