We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8235152 commit 73308d1Copy full SHA for 73308d1
lib/filehandler.js
@@ -1,7 +1,6 @@
1
module.exports = function (middleware, options) {
2
3
return function (req, res, next) {
4
- this.req = req;
5
res.set({
6
'Access-Control-Allow-Origin': options.accessControl.allowOrigin,
7
'Access-Control-Allow-Methods': options.accessControl.allowMethods
0 commit comments