Parameters
| Parameter | Type | Description |
|---|---|---|
url | string | The URL to extract the origin from. |
Returns
string
The origin string, or empty string if parsing fails.| Parameter | Type | Description |
|---|---|---|
url | string | The URL to extract the origin from. |
string
The origin string, or empty string if parsing fails.