Display git provider favicon in SyncStep

This commit is contained in:
Alex Gleason committed 2025-12-24 19:20:34 -06:00
1 parent d2fd29ed86
commit 12433320b6
4 files changed
+22 -31

No files matched your search

-14
View File
@@ -1,14 +0,0 @@
/**
* Normalize a URL string to ensure it has a protocol
* @param url - The URL string to normalize
* @returns A fully-qualified URL string
*/
export function normalizeUrl(url: string): string {
// If it already has a protocol, return as-is
if (/^https?:\/\//i.test(url)) {
return url;
}
// Add https:// prefix
return `https://${url}`;
}