Compute the bare display host once in LinkCardMetadata (via Laravel's Uri::host + Str::chopStart) and return it as card.domain, so the LinkCard component renders it directly instead of parsing the URL client-side. The component is now purely presentational. |
||
|---|---|---|
| .. | ||
| LinkPreviewControllerTest.php | ||