Skip to content

Commit 9bec6dc

Browse files
committedJun 3, 2019
re-enable all middleware plugins
1 parent 76e2a27 commit 9bec6dc

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed
 

‎lib/default-stack.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ module.exports = [
22
'lws-basic-auth',
33
'lws-body-parser',
44
'lws-request-monitor',
5-
// 'lws-log',
6-
// 'lws-cors',
7-
// 'lws-json',
5+
'lws-log',
6+
'lws-cors',
7+
'lws-json',
88
'lws-compress',
9-
// 'lws-rewrite',
9+
'lws-rewrite',
1010
'lws-blacklist',
11-
// 'lws-conditional-get',
12-
// 'lws-mime',
13-
// 'lws-range',
14-
// 'lws-spa',
11+
'lws-conditional-get',
12+
'lws-mime',
13+
'lws-range',
14+
'lws-spa',
1515
'lws-static',
1616
'lws-index'
1717
]

‎package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"lws-body-parser": "^1.0.1",
4343
"lws-compress": "^1.0.1",
4444
"lws-conditional-get": "^1.0.0",
45-
"lws-cors": "^1.0.0",
45+
"lws-cors": "^2.0.0",
4646
"lws-index": "^1.0.1",
4747
"lws-json": "^1.0.0",
4848
"lws-log": "^1.0.0",

0 commit comments

Comments
 (0)
Please sign in to comment.