mirror of
https://codeberg.org/MarkusThielker/next-ory.git
synced 2025-04-19 00:51:18 +00:00
NORY-9: exclude service-worker from middleware
This commit is contained in:
parent
1234766c6d
commit
93acfb7cfc
1 changed files with 1 additions and 1 deletions
|
@ -41,5 +41,5 @@ export async function middleware(request: NextRequest) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export const config = {
|
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