fix: frontend security risk (#2355)

This commit is contained in:
Joel 2024-02-02 15:24:17 +08:00 • committed by GitHub
commit a667d04e53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 59 additions and 53 deletions

View file

@ -44,7 +44,7 @@ const CustomPage = () => {
showContact && (
<div className='absolute bottom-0 h-[50px] leading-[50px] text-xs text-gray-500'>
{t('custom.customize.prefix')}
<a className='text-[#155EEF]' href={contactSalesUrl} target='_blank'>{t('custom.customize.contactUs')}</a>
<a className='text-[#155EEF]' href={contactSalesUrl} target='_blank' rel='noopener noreferrer'>{t('custom.customize.contactUs')}</a>
{t('custom.customize.suffix')}
</div>
)