"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Add 'http'/'https' prefix to url
* @category network
* @module normalizeUrl
*/
var normalizeUrl = function (src) {
if (!/^(http|https)\:\/\//i.test(src))
return "https://".concat(src);
return src;
};
exports.default = normalizeUrl;
Source