Merge pull request #350 from Vladislav-CS/domain-link-fix

fix: wrong domain link
This commit is contained in:
Mauricio Siu
2024-08-29 21:59:03 -06:00
committed by GitHub

View File

@@ -71,7 +71,10 @@ export const ShowDomains = ({ applicationId }: Props) => {
key={item.domainId}
className="flex w-full items-center gap-4 max-sm:flex-wrap border p-4 rounded-lg"
>
<Link target="_blank" href={`http://${item.host}`}>
<Link
target="_blank"
href={`${item.https ? "https" : "http"}://${item.host}${item.path}`}
>
<ExternalLink className="size-5" />
</Link>