mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
fix lint error
This commit is contained in:
parent
af92c53dcd
commit
5fbffb2e26
@ -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 })
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user