fix: deny-by-default API auth + safe SSE controller

This commit is contained in:
decolua
2026-05-15 12:41:52 +07:00
parent 6493391415
commit bb86808582
3 changed files with 53 additions and 28 deletions
+1 -14
View File
@@ -1,18 +1,5 @@
export { proxy } from "./dashboardGuard";
export const config = {
matcher: [
"/",
"/dashboard/:path*",
"/api/shutdown",
"/api/settings/:path*",
"/api/keys",
"/api/keys/:path*",
"/api/providers/client",
"/api/provider-nodes/validate",
"/api/cli-tools/:path*",
"/api/mcp/:path*",
"/api/translator/:path*",
"/api/tunnel/:path*",
],
matcher: ["/((?!_next/static|_next/image|favicon\\.ico).*)"],
};