Replace forgeable cookie auth with signed JWT sessions, protect admin APIs, add input validation, and improve Docker deployment config.
10 lines
212 B
TypeScript
10 lines
212 B
TypeScript
import { NextResponse } from "next/server";
|
|
|
|
export const dynamic = "force-dynamic";
|
|
|
|
export async function GET() {
|
|
return NextResponse.json({
|
|
apiKey: process.env.GOOGLE_MAPS_API_KEY || "",
|
|
});
|
|
}
|