Skip to content

Commit bcaf4a3

Browse files
authored
Merge pull request #4 from Patrick-N-C/patch-1
Removed unused declaration
2 parents cb283e3 + dea2e14 commit bcaf4a3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

api/cors.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919
*/
2020

21-
const express = require("express");
22-
2321
module.exports = function cors(req, res, next) {
2422
res.header("Access-Control-Allow-Origin", "*");
2523
try {
@@ -28,4 +26,4 @@ module.exports = function cors(req, res, next) {
2826
console.error(error)
2927
}
3028
next();
31-
};
29+
};

0 commit comments

Comments
 (0)