diff --git a/lib/module.js b/lib/module.js index 97267d714f..7f853ad203 100755 --- a/lib/module.js +++ b/lib/module.js @@ -64,7 +64,7 @@ class Module { } addServerMiddleware (middleware) { - this.options.serverMiddlewares.push(middleware) + this.options.serverMiddleware.push(middleware) } extendBuild (fn) {