mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-24 09:28:41 +00:00
chore: rename
This commit is contained in:
parent
123c4b395d
commit
d523252dff
@ -104,7 +104,7 @@ export interface NuxtLinkOptions extends
|
||||
* A white list of domain that should be not set noreferrer.
|
||||
* @example ['nuxt.com', 'nuxtjs.org']
|
||||
*/
|
||||
whiteList?: string[]
|
||||
whitelist?: string[]
|
||||
}
|
||||
|
||||
/* @__NO_SIDE_EFFECTS__ */
|
||||
@ -436,7 +436,7 @@ export function defineNuxtLink (options: NuxtLinkOptions) {
|
||||
}
|
||||
}
|
||||
let defaultExternalRel = 'noopener noreferrer'
|
||||
if (isUrlInWhitelist(href.value, options.whiteList)) {
|
||||
if (isUrlInWhitelist(href.value, options.whitelist)) {
|
||||
defaultExternalRel = 'noopener'
|
||||
}
|
||||
// Resolves `rel`
|
||||
|
Loading…
Reference in New Issue
Block a user