Add Google Client ID fetching in auth context and create auth config API route
Build and Push Reader Image / docker (push) Successful in 38s

This commit is contained in:
2026-04-24 02:08:33 +07:00
parent 7c4404ded8
commit 223850922e
3 changed files with 50 additions and 2 deletions
+16
View File
@@ -0,0 +1,16 @@
import { NextResponse } from "next/server"
export const runtime = "nodejs"
export const dynamic = "force-dynamic"
export async function GET() {
const googleClientId =
(process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID || process.env.GOOGLE_CLIENT_ID || "").trim()
return NextResponse.json(
{
googleClientId,
},
{ status: 200 },
)
}