Files
huncode 53e4f06486
Production container deploy / production (push) Failing after 2m34s
Restore videoreg public guide site with static isolated deployment
2026-10-26 14:26:13 +03:00

4 lines
369 B
TypeScript

import { NextResponse, type NextRequest } from 'next/server';
export function proxy(request: NextRequest) { if(request.nextUrl.pathname.startsWith('/api/videos') || request.nextUrl.pathname.endsWith('/showcase')) return new NextResponse('Not found',{status:404}); return NextResponse.next(); }
export const config={matcher:['/api/videos/:path*','/:devRoot/showcase']};