This commit is contained in:
Sebastien Chopin 2017-05-05 16:48:04 +02:00
parent 6178527177
commit 7f1bf3d5f0
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ export function renderRoute (url, context = {}) {
// Add url and isSever to the context // Add url and isSever to the context
context.url = url context.url = url
context.isServer = true context.isServer = true
// Call renderToSting from the bundleRenderer and generate the HTML (will update the context as well) // Call renderToString from the bundleRenderer and generate the HTML (will update the context as well)
const self = this const self = this
return co(function * () { return co(function * () {
let APP = yield self.renderToString(context) let APP = yield self.renderToString(context)