Browse Source

re-enable all middleware plugins

master
Lloyd Brookes 6 years ago
parent
commit
9bec6dccd9
  1. 16
      lib/default-stack.js
  2. 14
      package-lock.json
  3. 2
      package.json

16
lib/default-stack.js

@ -2,16 +2,16 @@ module.exports = [
'lws-basic-auth', 'lws-basic-auth',
'lws-body-parser', 'lws-body-parser',
'lws-request-monitor', 'lws-request-monitor',
// 'lws-log',
// 'lws-cors',
// 'lws-json',
'lws-log',
'lws-cors',
'lws-json',
'lws-compress', 'lws-compress',
// 'lws-rewrite',
'lws-rewrite',
'lws-blacklist', 'lws-blacklist',
// 'lws-conditional-get',
// 'lws-mime',
// 'lws-range',
// 'lws-spa',
'lws-conditional-get',
'lws-mime',
'lws-range',
'lws-spa',
'lws-static', 'lws-static',
'lws-index' 'lws-index'
] ]

14
package-lock.json

@ -137,9 +137,9 @@
} }
}, },
"@koa/cors": { "@koa/cors": {
"version": "2.2.3",
"resolved": "https://registry.npmjs.org/@koa/cors/-/cors-2.2.3.tgz",
"integrity": "sha512-tCVVXa39ETsit5kGBtEWWimjLn1sDaeu8+0phgb8kT3GmBDZOykkI3ZO8nMjV2p3MGkJI4K5P+bxR8Ztq0bwsA==",
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/@koa/cors/-/cors-3.0.0.tgz",
"integrity": "sha512-hDp+cXj6vTYSwHRJfiSpnf5dTMv3FmqNKh1or9BPJk4SHOviHnK9GoL9dT0ypt/E+hlkRkZ9edHylcosW3Ghrw==",
"requires": { "requires": {
"vary": "^1.1.2" "vary": "^1.1.2"
} }
@ -1871,11 +1871,11 @@
} }
}, },
"lws-cors": { "lws-cors": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/lws-cors/-/lws-cors-1.0.0.tgz",
"integrity": "sha512-4C0m4lvYdAnpAa03tr9AqziB4d8SRPh4beQBuzPiefv7N9/tpVdrl9kgXrUe1hLHhISnVJ5MoOZuZ6wFeMiU4g==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/lws-cors/-/lws-cors-2.0.0.tgz",
"integrity": "sha512-//y38wWWCBjSEt6gy7C7+MSEePPw4n5wOo68lhHPLuKHDY+F81UdlSspEtQSteqDGlYWDcO1A0RVUf4vCQqN/Q==",
"requires": { "requires": {
"@koa/cors": "^2.2.1"
"@koa/cors": "^3.0.0"
} }
}, },
"lws-index": { "lws-index": {

2
package.json

@ -42,7 +42,7 @@
"lws-body-parser": "^1.0.1", "lws-body-parser": "^1.0.1",
"lws-compress": "^1.0.1", "lws-compress": "^1.0.1",
"lws-conditional-get": "^1.0.0", "lws-conditional-get": "^1.0.0",
"lws-cors": "^1.0.0",
"lws-cors": "^2.0.0",
"lws-index": "^1.0.1", "lws-index": "^1.0.1",
"lws-json": "^1.0.0", "lws-json": "^1.0.0",
"lws-log": "^1.0.0", "lws-log": "^1.0.0",

Loading…
Cancel
Save