diff --git a/ui/app/api/env/route.ts b/ui/app/api/env/route.ts index b86f0b4..883e31f 100644 --- a/ui/app/api/env/route.ts +++ b/ui/app/api/env/route.ts @@ -1,7 +1,7 @@ import { NextRequest, NextResponse } from 'next/server'; import process from 'process'; -export async function GET(request: NextRequest) { +export async function requestHandler(_request: NextRequest): NextResponse { // Access environment variables const envVars = { BACKEND_API_URL: process.env.BACKEND_API_URL, @@ -10,4 +10,6 @@ export async function GET(request: NextRequest) { // Return the environment variables as a JSON response return NextResponse.json(envVars); -} \ No newline at end of file +} + +export { requestHandler as GET }; \ No newline at end of file