Skip to content

Let's use AI to Earn!

129 B
Raw Blame
/** 判断是否外链 */
export function isExternal(path: string): boolean {
  return /^(?:https?:|mailto:|tel:)/.test(path);
}