You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
467 B
25 lines
467 B
class MiddlewareList {
|
|
description () {
|
|
return 'Print available middleware'
|
|
}
|
|
execute (options) {
|
|
const list = [
|
|
'lws-log',
|
|
'lws-cors',
|
|
'lws-json',
|
|
'lws-rewrite',
|
|
'lws-body-parser',
|
|
'lws-blacklist',
|
|
'lws-conditional-get',
|
|
'lws-mime',
|
|
'lws-compress',
|
|
'lws-mock-response',
|
|
'lws-spa',
|
|
'lws-static',
|
|
'lws-index'
|
|
]
|
|
console.log(list)
|
|
}
|
|
}
|
|
|
|
module.exports = MiddlewareList
|