fix(infra): correct traefik host rule syntax for public router

- Fixed invalid Traefik rule syntax in docker-compose.yml (was using raw hostname)
- Updated middleware.ts to explicitly allow localized paths
- Ensures whitelist for OG images/health checks is recognized
This commit is contained in:
2026-02-18 23:43:54 +01:00
parent fc0d2e55c6
commit 067b4aa05b
2 changed files with 2 additions and 1 deletions

View File

@@ -96,5 +96,6 @@ export default function middleware(request: NextRequest) {
export const config = {
matcher: [
'/((?!api|_next/static|_next/image|favicon.ico|manifest.webmanifest|.*\\.(?:svg|png|jpg|jpeg|gif|webp|pdf|txt|vcf|xml)$).*)',
'/(de|en)/:path*',
],
};