aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-03-15 21:23:57 -0400
committerBobby <[email protected]>2022-03-15 21:23:57 -0400
commit67149e0b9dfc14cc339881cfe4709c5fc6fd1da2 (patch)
treec2b4816ed643ed061889c3ef1c321dc9c797fd91
parent2dc9f1dfc31317a5c316588f57e6ac425a2d860e (diff)
downloadluciferreeves.github.io-67149e0b9dfc14cc339881cfe4709c5fc6fd1da2.tar.xz
luciferreeves.github.io-67149e0b9dfc14cc339881cfe4709c5fc6fd1da2.zip
remove origin true
-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({