Update middleware matcher to exclude 'offer' from routing

- Modified the middleware configuration to exclude the 'offer' path from the matcher, ensuring that requests to this route are handled appropriately.
This commit is contained in:
vchikalkin 2025-10-07 19:26:36 +03:00
parent f8d0b7619f
commit 4a98ac5d3e

View File

@ -12,6 +12,6 @@ export default withAuth({
export const config = { export const config = {
matcher: [ matcher: [
'/((?!auth|browser|telegram|unregistered|privacy|public-offer|api|_next/static|_next/image|favicon.ico).*)', '/((?!auth|browser|telegram|unregistered|privacy|offer|api|_next/static|_next/image|favicon.ico).*)',
], ],
}; };