const getNetworkPictures = (img) => {
var imgSrc = ""
var str = new RegExp("http");
console.log(str.test(img))
if (str.test(img)) {
imgSrc = img
} else {
imgSrc = configs.uploadImg + img
}
return imgSrc
}
module.exports = {
getNetworkPictures
};