Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

327 B
Raw Blame
export const BAZAAR_README_ALLOWED_URI_REGEXP = /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix|siyuan|web\+siyuan):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i;

export const BAZAAR_README_SANITIZE_OPTIONS = {
    FORBID_TAGS: ["iframe", "frame", "frameset"],
    ALLOWED_URI_REGEXP: BAZAAR_README_ALLOWED_URI_REGEXP,
};