diff options
| author | Bobby <[email protected]> | 2022-03-21 01:36:31 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-03-21 01:36:31 -0400 |
| commit | f1328ad385ded2558bbd57d3d39c4d4ad1f366fb (patch) | |
| tree | 005d4f0ff07eb9f1bba24bc62402db14531aa137 | |
| parent | 19b1b5d6e5ae9bf8e878858cf8a5385cd463142b (diff) | |
| download | luciferreeves.github.io-f1328ad385ded2558bbd57d3d39c4d4ad1f366fb.tar.xz luciferreeves.github.io-f1328ad385ded2558bbd57d3d39c4d4ad1f366fb.zip | |
Remove CORS module
| -rw-r--r-- | server.js | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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({ |
