( organizationId: string, projectId: string, path = '', )
| 247 | * Build a clickable dashboard URL for a tool result. |
| 248 | */ |
| 249 | export 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 | } |
no outgoing calls
no test coverage detected