From 60ce35f3b2e81a81dd8724c5cf3e013ffe278957 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Tue, 4 Aug 2020 12:14:46 +0200 Subject: [PATCH] fix server.ts --- packages/nuxt3/src/server/server.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/nuxt3/src/server/server.ts b/packages/nuxt3/src/server/server.ts index a59ece7490..dc0853d4e4 100644 --- a/packages/nuxt3/src/server/server.ts +++ b/packages/nuxt3/src/server/server.ts @@ -347,12 +347,12 @@ export default class Server { return this.app.stack.map(({ handle }) => handle._middleware && handle._middleware.entry).filter(Boolean) } - renderRoute (...args: Parameters) { - return this.renderer.renderRoute.apply(this.renderer, ...args.slice()) + renderRoute () { + return this.renderer.renderRoute.apply(this.renderer, arguments) } - loadResources (...args: Parameters) { - return this.renderer.loadResources.apply(this.renderer, ...args) + loadResources () { + return this.renderer.loadResources.apply(this.renderer, arguments) } renderAndGetWindow (url, opts = {}, {