Files
buzz-sheet/proxy.ts
T
gunshiz 801386a8ed
CI / Verify application and manifests (push) Successful in 1m27s
CI / Build immutable images and deploy (push) Failing after 5m58s
feat : overwite buzz.sudloh.com/guide
2026-09-17 21:55:16 +07:00

20 lines
390 B
TypeScript

import { NextResponse } from "next/server";
export function proxy() {
if (process.env.PUBLIC_MIRROR === "true") {
return new NextResponse(null, { status: 404 });
}
return NextResponse.next();
}
export const config = {
matcher: [
"/admin/:path*",
"/register",
"/api/admin/:path*",
"/api/auth/:path*",
"/api/events/admin",
"/api/presence/admin",
],
};