feat: full site build — Project/Melody schema (Option A), admin CRUD, public sections, uploads, email+SMTP, internal analytics, legal pages, docs
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import NextAuth from "next-auth";
|
||||
import authConfig from "@/lib/auth.config";
|
||||
|
||||
export const { auth: middleware } = NextAuth(authConfig);
|
||||
|
||||
export default middleware;
|
||||
|
||||
export const config = {
|
||||
matcher: ["/admin/:path*"],
|
||||
};
|
||||
Reference in New Issue
Block a user