- Renamed zitadel-dashboard to dashboard - Integrated with rede5.com.br subdomains - Updated project structure for monorepo consistency Co-Authored-By: Claude <noreply@anthropic.com>
11 lines
202 B
TypeScript
11 lines
202 B
TypeScript
import { withAuth } from "next-auth/middleware";
|
|
|
|
export default withAuth({
|
|
callbacks: {
|
|
authorized: ({ token }) => !!token,
|
|
},
|
|
});
|
|
|
|
export const config = {
|
|
matcher: ["/dashboard/:path*"],
|
|
};
|