Skip to content

Commit

Permalink
backend(12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bibiing committed Dec 17, 2024
1 parent c02a56d commit 6115e97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ app.use(
imgSrc: ["'self'", "data:", "https:"],
connectSrc: [
"'self'",
"https://chronocamm.vercel.app",
"https://chronocamm.vercel.app/",
"https://vercel.live",
],
},
Expand All @@ -62,7 +62,7 @@ const connectDB = async () => {
// CORS Configuration
app.use(
cors({
origin: "https://chronocamm.vercel.app",
origin: "https://chronocamm.vercel.app/",
methods: ["GET", "POST", "PUT"],
allowedHeaders: ["Content-Type", "Authorization"],
credentials: true,
Expand Down

0 comments on commit 6115e97

Please sign in to comment.