Skip to content

Commit

Permalink
Merge pull request #1431 from Ansh101112/backend
Browse files Browse the repository at this point in the history
Added cross origins connection
  • Loading branch information
codervivek5 committed Jun 20, 2024
2 parents 6c1e6de + 1030d66 commit d7e969e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Backend Code/Backend_NodeJS/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ const routes = require("./routes");

const app = express();

// cross origin connection
app.use(cors());

// Middleware
app.use(express.json());

Expand Down

0 comments on commit d7e969e

Please sign in to comment.