Skip to content

Commit

Permalink
backend(2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bibiing committed Dec 17, 2024
1 parent 3b0981a commit f37a590
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 @@ -46,7 +46,7 @@ app.use(
],
styleSrc: ["'self'", "'unsafe-inline'"],
imgSrc: ["'self'", "data:", "https:"],
connectSrc: ["'self'", "https://chronocam.vercel.app"],
connectSrc: ["'self'", "https://chronocamm.vercel.app"],
},
},
referrerPolicy: { policy: "strict-origin-when-cross-origin" },
Expand All @@ -56,7 +56,7 @@ app.use(
// CORS Configuration
app.use(
cors({
origin: "https://chronocam.vercel.app",
origin: "https://chronocamm.vercel.app",
methods: ["GET", "POST", "PUT"],
allowedHeaders: ["Content-Type", "Authorization"],
credentials: true,
Expand Down

0 comments on commit f37a590

Please sign in to comment.