fix lint error

This commit is contained in:
Pooya Parsa 2020-11-12 19:22:20 +01:00
parent af92c53dcd
commit 5fbffb2e26

View File

@ -44,8 +44,7 @@ export default <Module> function slsModule () {
const route = m.path || m.route || '/'
const handle = nuxt.resolver.resolvePath(m.handler || m.handle)
const id = '_' + hasha(handle).substr(0, 6)
options.serverMiddleware.push({ route, id, handle })
options.serverMiddleware.push({ route, handle })
}
})