fix: frontend security risk (#2355)
This commit is contained in:
@@ -21,7 +21,7 @@ const Contribute: FC = () => {
|
||||
{t('tools.contribute.line2')}
|
||||
</div>
|
||||
</div>
|
||||
<a href='https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md' target='_blank' className='mt-1 flex items-center space-x-1 text-[#155EEF]'>
|
||||
<a href='https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md' target='_blank' rel='noopener noreferrer' className='mt-1 flex items-center space-x-1 text-[#155EEF]'>
|
||||
<BookOpen01 className='w-3 h-3' />
|
||||
<div className='leading-[18px] text-xs font-normal'>{t('tools.contribute.viewGuide')}</div>
|
||||
</a>
|
||||
|
||||
@@ -177,7 +177,7 @@ const EditCustomCollectionModal: FC<Props> = ({
|
||||
<div className='mx-2 w-px h-3 bg-black/5'></div>
|
||||
<a
|
||||
href="https://swagger.io/specification/"
|
||||
target='_blank'
|
||||
target='_blank' rel='noopener noreferrer'
|
||||
className='flex items-center h-[18px] space-x-1 text-[#155EEF]'
|
||||
>
|
||||
<div className='text-xs font-normal'>{t('tools.createTool.viewSchemaSpec')}</div>
|
||||
|
||||
Reference in New Issue
Block a user