mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 20:00:47 +00:00
fix: deny-by-default API auth + safe SSE controller
This commit is contained in:
+1
-14
@@ -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).*)"],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user