Add queue banners/counts on ticket detail pages, document local-only photo purge, and harden Drizzle Kit smoke contracts after Prisma removal. Co-authored-by: Cursor <[email protected]>
12 lines
355 B
TypeScript
12 lines
355 B
TypeScript
import NextAuth from "next-auth";
|
|
import { env } from "@/env";
|
|
|
|
// Proxy authentication must only decode the Auth.js session. Importing the
|
|
// full CMS auth configuration here would also run DB/settings callbacks.
|
|
export const { auth: proxyAuth } = NextAuth({
|
|
trustHost: true,
|
|
secret: env.AUTH_SECRET,
|
|
session: { strategy: "jwt" },
|
|
providers: [],
|
|
});
|