mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +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
|
||||
renderContext.url = url
|
||||
// Add target to the renderContext
|
||||
renderContext.target = this.serverContext.nuxt.options.target
|
||||
renderContext.target = this.options.target
|
||||
|
||||
const { req = {}, res = {} } = renderContext
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user