MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / dashboardUrl

Function dashboardUrl

apps/api/src/agents/tools/helpers.ts:249–259  ·  view source on GitHub ↗
(
  organizationId: string,
  projectId: string,
  path = '',
)

Source from the content-addressed store, hash-verified

247 * Build a clickable dashboard URL for a tool result.
248 */
249export function dashboardUrl(
250 organizationId: string,
251 projectId: string,
252 path = '',
253): string {
254 const base =
255 process.env.DASHBOARD_URL ||
256 process.env.NEXT_PUBLIC_DASHBOARD_URL ||
257 'http://localhost:3000';
258 return `${base}/${organizationId}/${projectId}${path}`;
259}

Callers 5

base.tsFile · 0.90
orgPathFunction · 0.90
dashboard.tsFile · 0.90
session.tsFile · 0.90
profile.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected