fix: exclude manifest.json, sw.js, textures from auth middleware
PWA manifest and service worker must be accessible without the access cookie for browser installability checks to work. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fdb1efcb1e
commit
c5aa2f0e40
|
|
@ -20,6 +20,6 @@ export const config = {
|
|||
* - /_next (Next.js internals)
|
||||
* - /favicon.ico, /icon*, /apple-icon*, /og-image* (static assets)
|
||||
*/
|
||||
"/((?!gate|api/verify-code|api/version|_next|favicon\\.ico|icon|apple-icon|og-image).*)",
|
||||
"/((?!gate|api/verify-code|api/version|_next|favicon\\.ico|icon|apple-icon|og-image|manifest\\.json|sw\\.js|textures/).*)",
|
||||
],
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue