mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
fix(nuxt): ignore navigateTo
open
option on server side (#26392)
This commit is contained in:
parent
4e6812d92c
commit
6f2e7a8b23
@ -135,10 +135,9 @@ export const navigateTo = (to: RouteLocationRaw | undefined | null, options?: Na
|
||||
.join(', ')
|
||||
|
||||
open(toPath, target, features)
|
||||
}
|
||||
|
||||
return Promise.resolve()
|
||||
}
|
||||
}
|
||||
|
||||
const isExternal = options?.external || hasProtocol(toPath, { acceptRelative: true })
|
||||
if (isExternal) {
|
||||
|
Loading…
Reference in New Issue
Block a user