Files
openshell_controller/app/api/openshell/dashboard/proxy/[...path]/route.ts
T

10 lines
238 B
TypeScript

import { proxyErrorResponse, proxyOpenClawDashboard } from '../shared'
export async function GET(request: Request) {
try {
return await proxyOpenClawDashboard(request)
} catch (error) {
return proxyErrorResponse(error)
}
}