Kind: Function
Source: atloria-monorepo/apps/web/src/lib/url-utils.ts
Build a project URL from components
In production with NEXT_PUBLIC_DOCS_DOMAIN set, returns the subdomain URL. Locally (no env var), falls back to the /p/ path.
Signature
tsfunction buildProjectUrl(slug: string, urlId: string): string
Parameters
| Name | Type |
|---|---|
slug | string |
urlId | string |
Returns: string
Was this page helpful?