Perplexica/ui/app/api/config/route.ts
2024-08-15 23:05:14 +01:00

9 lines
240 B
TypeScript

import { NextResponse } from 'next/server';
import process from 'process';
export async function GET() {
return NextResponse.json({
BACKEND_API_URL: process.env.BACKEND_API_URL,
BACKEND_WS_URL: process.env.BACKEND_WS_URL
});
}