add lws-request-monitor
This commit is contained in:
@ -4,6 +4,7 @@ class MiddlewareList {
|
||||
}
|
||||
execute (options) {
|
||||
const list = [
|
||||
'lws-request-monitor',
|
||||
'lws-log',
|
||||
'lws-cors',
|
||||
'lws-json',
|
||||
|
@ -14,6 +14,7 @@ class WsServe extends ServeCommand {
|
||||
.set('cd4', 'cli')
|
||||
options = {
|
||||
stack: [
|
||||
'lws-request-monitor',
|
||||
'lws-log',
|
||||
'lws-cors',
|
||||
'lws-json',
|
||||
|
@ -12,6 +12,7 @@ class LocalWebServer extends Lws {
|
||||
moduleDir: path.resolve(__dirname, `../node_modules`),
|
||||
modulePrefix: 'lws-',
|
||||
stack: [
|
||||
'lws-request-monitor',
|
||||
'lws-log',
|
||||
'lws-cors',
|
||||
'lws-json',
|
||||
|
Reference in New Issue
Block a user