mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-18 06:31:27 +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(', ')
|
.join(', ')
|
||||||
|
|
||||||
open(toPath, target, features)
|
open(toPath, target, features)
|
||||||
}
|
|
||||||
|
|
||||||
return Promise.resolve()
|
return Promise.resolve()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const isExternal = options?.external || hasProtocol(toPath, { acceptRelative: true })
|
const isExternal = options?.external || hasProtocol(toPath, { acceptRelative: true })
|
||||||
if (isExternal) {
|
if (isExternal) {
|
||||||
|
Loading…
Reference in New Issue
Block a user