diff --git a/src/PageForServer.ts b/src/PageForServer.ts index 0e9d20b2..0a7bbe01 100644 --- a/src/PageForServer.ts +++ b/src/PageForServer.ts @@ -18,10 +18,6 @@ export class PageForServer extends PageBase { } render(ns?: string, status?: number) { - if (typeof status !== 'number') { - ns = status; - status = null; - } this.app.emit('render', this); if (status) this.res.statusCode = status;