Link editing.

This commit is contained in:
Mike Cao committed 2025-08-15 11:11:24 -07:00
1 parent 0558563d35
commit 5f4b83b09c
13 files changed
+123 -89

No files matched your search

+9
View File
@@ -38,3 +38,12 @@ export function safeDecodeURIComponent(s: string | undefined | null): string | u
return s;
}
}
export function isValidUrl(url: string) {
try {
new URL(url);
return true;
} catch {
return false;
}
}