Skip to content

Commit

Permalink
Minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidwork committed Jun 14, 2018
1 parent fa5e363 commit 6e770ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/woodland.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class Woodland {
}

if (req.cors === true) {
let headers = req.headers["access-control-request-headers"];
const headers = req.headers["access-control-request-headers"];

res.header("access-control-allow-origin", req.headers.origin);
res.header("timing-allow-origin", req.headers.origin);
Expand Down

0 comments on commit 6e770ff

Please sign in to comment.