fix server.ts

This commit is contained in:
pooya parsa 2020-08-04 12:14:46 +02:00
parent 36db8c7759
commit 60ce35f3b2

View File

@ -347,12 +347,12 @@ export default class Server {
return this.app.stack.map(({ handle }) => handle._middleware && handle._middleware.entry).filter(Boolean)
}
renderRoute (...args: Parameters<VueRenderer['renderRoute']>) {
return this.renderer.renderRoute.apply(this.renderer, ...args.slice())
renderRoute () {
return this.renderer.renderRoute.apply(this.renderer, arguments)
}
loadResources (...args: Parameters<VueRenderer['loadResources']>) {
return this.renderer.loadResources.apply(this.renderer, ...args)
loadResources () {
return this.renderer.loadResources.apply(this.renderer, arguments)
}
renderAndGetWindow (url, opts = {}, {