Files
sitemente/app/api/claw3d-proxy/route.ts
T
horus 45af56d9cf feat(mission-control): restore MC tabs - temple, office, memory, claude, pdf-viewer, resume, resume-upload, temple-3d, demos
Also added:
- Memory API endpoints
- Briefs API endpoints
- AnveVoice stats API
- Claude spawn API
- TTS proxy
- Cleopatra voice widget
- api-auth middleware
2026-03-23 16:30:44 +01:00

17 lines
415 B
TypeScript

import { NextResponse } from 'next/server';
export async function GET() {
try {
const response = await fetch('http://localhost:3456/');
const html = await response.text();
return new NextResponse(html, {
status: 200,
headers: {
'Content-Type': 'text/html',
},
});
} catch (error) {
return NextResponse.json({ error: 'Claw3D not running' }, { status: 503 });
}
}