diff --git a/.dumi/mirror-modal.js b/.dumi/mirror-modal.js index 71ce7b2e28..3128af996d 100644 --- a/.dumi/mirror-modal.js +++ b/.dumi/mirror-modal.js @@ -2,7 +2,8 @@ if ( (navigator.languages.includes('zh') || navigator.languages.includes('zh-CN')) && /-cn\/?$/.test(window.location.pathname) && - !['ant-design.gitee.io', 'ant-design.antgroup.com'].includes(window.location.hostname) + !['ant-design.gitee.io', 'ant-design.antgroup.com'].includes(window.location.hostname) && + !window.location.host.includes('surge') ) { const ANTD_DOT_NOT_SHOW_MIRROR_MODAL = 'ANT_DESIGN_DO_NOT_OPEN_MIRROR_MODAL';