diff --git a/app/api/auth/google/callback/route.ts b/app/api/auth/google/callback/route.ts index 1c5c729..fc86a22 100644 --- a/app/api/auth/google/callback/route.ts +++ b/app/api/auth/google/callback/route.ts @@ -1,5 +1,8 @@ import { NextRequest, NextResponse } from 'next/server'; +// Prevent static rendering of this route +export const dynamic = 'force-dynamic'; + /** * Handle Google OAuth callback * In a real app, this would: diff --git a/lib/auth.ts b/lib/auth.ts index edb7cb6..e185c42 100644 --- a/lib/auth.ts +++ b/lib/auth.ts @@ -1,5 +1,5 @@ // Mock Google OAuth configuration -const GOOGLE_CLIENT_ID = 'your-google-client-id'; +const GOOGLE_CLIENT_ID = '1016208801816-qtvcvki2jobmcin1g4e7u4sotr0p8g3u.apps.googleusercontent.com'; const GOOGLE_REDIRECT_URI = typeof window !== 'undefined' ? `${window.location.origin}/api/auth/google/callback` : ''; diff --git a/next.config.js b/next.config.js index b321514..b6f0d8b 100644 --- a/next.config.js +++ b/next.config.js @@ -1,6 +1,5 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - output: 'export', eslint: { ignoreDuringBuilds: true, },