Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Djam <rdjamaile@gmail.com>
This commit is contained in:
Djam
2026-05-06 13:02:43 +02:00
committed by GitHub
parent 4f62755eed
commit 9d6edc0622
@@ -48,7 +48,7 @@ const ConsentPageLayout = ({ children }: { children: React.ReactNode }) => (
function getUrlHostname(value: string): string | undefined {
try {
return new URL(value).hostname;
return new URL(value).host;
} catch {
return undefined;
}