aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/server.js b/server.js
index cc428d0..49d8579 100644
--- a/server.js
+++ b/server.js
@@ -1,6 +1,5 @@
// Import Express and CORS
const express = require("express");
-const cors = require("cors");
const bodyParser = require("body-parser");
// Import the routes
@@ -41,8 +40,6 @@ app.use(function (req, res, next) {
});
// Set the port
const port = process.env.PORT || 3000;
-// Set the middleware
-app.use(cors());
app.use(bodyParser.json());
app.use(
bodyParser.urlencoded({