diff options
| author | Bobby <[email protected]> | 2022-03-15 21:23:57 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-03-15 21:23:57 -0400 |
| commit | 67149e0b9dfc14cc339881cfe4709c5fc6fd1da2 (patch) | |
| tree | c2b4816ed643ed061889c3ef1c321dc9c797fd91 | |
| parent | 2dc9f1dfc31317a5c316588f57e6ac425a2d860e (diff) | |
| download | luciferreeves.github.io-67149e0b9dfc14cc339881cfe4709c5fc6fd1da2.tar.xz luciferreeves.github.io-67149e0b9dfc14cc339881cfe4709c5fc6fd1da2.zip | |
remove origin true
| -rw-r--r-- | server.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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({ |
