mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
v3.8.40 cycle integration → main. All test gates green (Unit/Integration/Coverage/Node-compat/Quality-Ratchet). The only red check, 'PR Test Policy', is the test-masking heuristic firing on the cumulative ~57-commit release diff (legitimate assert consolidations already reviewed per-PR — Gemini CLI removal #5246, retired GPT models #5280, provider catalog refreshes); overridden with --admin per the documented release-PR convention. CodeQL/SonarQube advisory scans non-blocking; #5278's code already passed CodeQL on main. Homologated on VPS 192.168.0.15 (v3.8.40 healthy).
27 lines
529 B
TypeScript
27 lines
529 B
TypeScript
import type { NextRequest } from "next/server";
|
|
import { runAuthzPipeline } from "./server/authz/pipeline";
|
|
|
|
export async function proxy(request: NextRequest) {
|
|
return runAuthzPipeline(request, { enforce: true });
|
|
}
|
|
|
|
export const config = {
|
|
matcher: [
|
|
"/",
|
|
"/dashboard/:path*",
|
|
"/home",
|
|
"/home/:path*",
|
|
"/api/:path*",
|
|
"/v1/:path*",
|
|
"/v1",
|
|
"/v1beta/:path*",
|
|
"/v1beta",
|
|
"/chat/:path*",
|
|
"/responses/:path*",
|
|
"/responses",
|
|
"/codex/:path*",
|
|
"/codex",
|
|
"/models",
|
|
],
|
|
};
|