refactor into components

This commit is contained in:
Pooya Parsa 2017-06-11 18:47:36 +04:30
parent d3f66e132e
commit 13a4e71a83
1 changed files with 7 additions and 7 deletions

View File

@ -13,7 +13,7 @@ class Server {
this.nuxt.ready()
.then(() => {
// Add Middleware
this.nuxt.options.serverMiddleware.forEach(m => {
this.options.serverMiddleware.forEach(m => {
this.useMiddleware(m)
})
// Add default render middleware