mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-02 18:37:21 +00:00
fix(vue-renderer): read target
from class instead of serverContext
(#7752)
This commit is contained in:
parent
b469f931f8
commit
2dc11a71dc
@ -276,7 +276,7 @@ export default class VueRenderer {
|
|||||||
// Add url to the renderContext
|
// Add url to the renderContext
|
||||||
renderContext.url = url
|
renderContext.url = url
|
||||||
// Add target to the renderContext
|
// Add target to the renderContext
|
||||||
renderContext.target = this.serverContext.nuxt.options.target
|
renderContext.target = this.options.target
|
||||||
|
|
||||||
const { req = {}, res = {} } = renderContext
|
const { req = {}, res = {} } = renderContext
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user