Skip to content

Commit 1369eff

Browse files
committed
Removing cors from the code.
1 parent a6b6599 commit 1369eff

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

eform-client/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"angular2-uuid": "1.1.1",
3535
"chart.js": "2.7.3",
3636
"core-js": "2.5.7",
37-
"cors": "2.8.5",
3837
"date-fns": "1.29.0",
3938
"glob": "7.1.3",
4039
"hammerjs": "2.0.8",

eform-client/server.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ apiProxy.on('error', function(e) {
1616

1717
// gzip
1818
// app.use(compression());
19-
const cors = require('cors');
20-
app.use(cors);
21-
2219
app.use(express.static(__dirname + '/dist'));
2320

2421
// api handler

0 commit comments

Comments
 (0)