Public
Versions
- Open: VersionChanges from v2 to v3+0-0export const normalizeURL = (url: string) =>url.startsWith("http://") || url.startsWith("https") ? url : "http://" + url;export const normalizeURL = (url: string) =>url.startsWith("http://") || url.startsWith("https") ? url : "http://" + url;
- Open: VersionChanges from v1 to v2+1-1
const normalizeURL = (url: string) =>url.startsWith("http://") || url.startsWith("https") ? url : "http://" + url;export const normalizeURL = (url: string) =>url.startsWith("http://") || url.startsWith("https") ? url : "http://" + url; - Open: VersionChanges from v0 to v1+1-1const normalizeURL = (url: string) =>
url.startsWith("http://", ") || url.startsWith(", https); //") ? url : "http://" + urlconst normalizeURL = (url: string) =>url.startsWith("http://") || url.startsWith("https") ? url : "http://" + url; - Open: Version+2-0const normalizeURL = (url: string) =>url.startsWith("http://", ") || url.startsWith(", https); //") ? url : "http://" + url
Updated: October 23, 2023