imagePath.js 105 B

123
  1. export function imagePathBabel(text){
  2. return text?text.charAt(0) == '/'? text : '/public/'+text : ''
  3. }