Skip to content

Commit

Permalink
Add noopener to help link
Browse files Browse the repository at this point in the history
  • Loading branch information
taoky committed Aug 25, 2023
1 parent a441bc3 commit fc5f05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default React.memo(() => {
<NavLink to="/site" activeClassName="active">
<h2 dangerouslySetInnerHTML={{__html: t("site.site")}} />
</NavLink>
{config.mirrorz_help && <a href={config.mirrorz_help} target="_blank">
{config.mirrorz_help && <a href={config.mirrorz_help} target="_blank" rel="noopener">
<h2 dangerouslySetInnerHTML={{__html: t("help")}} /><Icon>open_in_new</Icon>
</a>}
<NavLink to="/about" activeClassName="active">
Expand Down

0 comments on commit fc5f05c

Please sign in to comment.