var resolvePath = function(path) {
  if (!path) return '';
  if (path.indexOf('http') === 0 || path.indexOf('wxfile') === 0) {
    return path;
  }
  return '/assets/' + path;
}

module.exports = {
  resolvePath: resolvePath
};
