Skip to content

Commit

Permalink
Merge branch 'Development'
Browse files Browse the repository at this point in the history
  • Loading branch information
yunji0387 committed Feb 23, 2024
2 parents e2a7140 + ad3c718 commit 4755743
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const express = require('express');
const app = express();
const mongoose = require('mongoose');
const cors = require('cors');

require('dotenv').config();

Expand All @@ -12,7 +13,7 @@ mongoose.connect(process.env.MONGO_URI)
// Middleware to parse JSON bodies
app.use(express.json());

app.use(cors())
app.use(cors());

// Import the standing routes
const standingRoutes = require('./routes/standingRoutes'); // Adjust the path as necessary
Expand Down

0 comments on commit 4755743

Please sign in to comment.