aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.js b/server.js
index de34fce..b52da88 100644
--- a/server.js
+++ b/server.js
@@ -23,7 +23,7 @@ app.use(function (req, res, next) {
// Set the port
const port = process.env.PORT || 3000;
// Set the middleware
-app.use(cors({ origin: true }));
+app.use(cors());
app.use(bodyParser.json());
app.use(
bodyParser.urlencoded({