Files
reader/app/api/auth/config/route.ts
T
2026-04-24 02:08:33 +07:00

17 lines
354 B
TypeScript

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 },
)
}