Skip to content

Commit 9bf855d

Browse files
committed
fix: missing noopener
1 parent de6c417 commit 9bf855d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/templates/plugin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default ({ app: { router } }) => {
1010
if (href && href[0] === '/') {
1111
event.preventDefault()
1212
event.metaKey
13-
? window.open(href, '_blank')
13+
? window.open(href, '_blank', 'noopener')
1414
: router.push(href)
1515
}
1616
}

0 commit comments

Comments
 (0)