Files
MOPC-Portal/src/middleware.ts
Matt a606292aaa Initial commit: MOPC platform with Docker deployment setup
Full Next.js 15 platform with tRPC, Prisma, PostgreSQL, NextAuth.
Includes production Dockerfile (multi-stage, port 7600), docker-compose
with registry-based image pull, Gitea Actions CI workflow, nginx config
for portal.monaco-opc.com, deployment scripts, and DEPLOYMENT.md guide.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:41:32 +01:00

12 lines
285 B
TypeScript

import NextAuth from 'next-auth'
import { authConfig } from '@/lib/auth.config'
export default NextAuth(authConfig).auth
export const config = {
matcher: [
// Match all paths except static files
'/((?!_next/static|_next/image|favicon.ico|images|fonts|api/auth).*)',
],
}