Function: buildApiUrl()¶
buildApiUrl(
endpoint):string
Defined in: lib/api.ts:73
Builds a complete API URL from endpoint path.
Combines base URL with normalized endpoint, handling both relative and absolute URLs.
Parameters¶
| Parameter | Type | Description |
|---|---|---|
endpoint |
string |
Endpoint path or full URL |
Returns¶
string
Complete API URL