Files
mylder-frontend/src/middleware.ts
christiankrag 065f8029be Add full application structure with auth, dashboard, and Docker
- Add Dockerfile for production deployment
- Add authentication pages (login, signup)
- Add dashboard layout and navigation
- Add project pages with chat component
- Add shadcn/ui components
- Add Supabase client configuration
- Add middleware for auth protection
- Update next.config.ts for standalone output

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 13:41:59 +01:00

13 lines
337 B
TypeScript

import { type NextRequest } from 'next/server'
import { updateSession } from '@/lib/supabase/middleware'
export async function middleware(request: NextRequest) {
return await updateSession(request)
}
export const config = {
matcher: [
'/((?!_next/static|_next/image|favicon.ico|.*\\.(?:svg|png|jpg|jpeg|gif|webp)$).*)',
],
}