Add operator-backed services status dashboard and update health endpoints
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
import { NextResponse } from 'next/server';
|
||||
import { serverConfig } from '@/lib/config';
|
||||
|
||||
export async function GET() {
|
||||
const timestamp = new Date().toISOString();
|
||||
|
||||
return NextResponse.json({
|
||||
ok: true,
|
||||
status: 'ok',
|
||||
service: 'prism-console'
|
||||
service: 'prism-console',
|
||||
timestamp,
|
||||
ts: timestamp,
|
||||
environment: serverConfig.environment
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user