export function normalizeUrl(url) {
    let normalizedUrl = url;
    if (!url.startsWith("http://") && !url.startsWith("https://")) {
        normalizedUrl = `https://${url}`;
    }
    if (normalizedUrl.endsWith("/")) {
        normalizedUrl = normalizedUrl.slice(0, -1);
    }
    return normalizedUrl;
}
//# sourceMappingURL=urls.js.map