修复一下图表的bug

This commit is contained in:
sijinhui
2024-02-22 13:14:34 +08:00
parent 3dfb559dc0
commit 5aef4ed70f
4 changed files with 4 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ const SECURE_COOKIES:boolean = !!process.env.SECURE_COOKIES;
export const authOptions: NextAuthOptions = {
// debug: !VERCEL_DEPLOYMENT,
debug: SECURE_COOKIES,
debug: !SECURE_COOKIES,
useSecureCookies: SECURE_COOKIES,
secret: process.env.NEXTAUTH_SECRET,
providers: [