chlid-proxy
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -16,8 +16,4 @@ const app = require('./app.js'); | ||
/** | ||
* | ||
* @param {(req, res, next) => any} middleware | ||
*/ | ||
static useMiddleware(middleware) { | ||
app.use(middleware); | ||
static useMiddleware(...args) { | ||
app.use(...args); | ||
}; | ||
@@ -24,0 +20,0 @@ } |
{ | ||
"name": "chlid-proxy", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Private Package", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
6943
171