feat: proxy loopback-only OpenClaw dashboard through web UI
- add dashboard proxy route for local OpenClaw endpoint - return proxiedUrl from dashboard open API - update sandbox button to open proxied route in new tab
This commit is contained in:
@@ -6,8 +6,9 @@ export async function GET() {
|
||||
return NextResponse.json({
|
||||
ok: true,
|
||||
dashboardUrl,
|
||||
proxiedUrl: '/api/openshell/dashboard/proxy',
|
||||
openInNewTab: true,
|
||||
loopbackOnly: true,
|
||||
note: 'OpenClaw Dashboard is loopback-only on the host. For remote browser access, add a reverse proxy route or rebind the gateway.'
|
||||
note: 'OpenClaw Dashboard is loopback-only on the host, so the web UI uses a local proxy route to expose it.'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user