Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayushaff authored Jun 27, 2024
1 parent fc1e4af commit 8c01458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const listingRoutes = require("./routes/listing.js")
const bookingRoutes = require("./routes/booking.js")
const userRoutes = require("./routes/user.js")

const allowedOrigins = ['http://localhost:3000', 'https://rentify-presidio-hi.vercel.app','https://rentify-presidio-one.vercel.app'];
const allowedOrigins = ['http://localhost:3000', 'https://rentify-presidio-hi.vercel.app','https://rentify-presidio-one.vercel.app','https://rentify-presidio-1.onrender.com'];

// Configure CORS options
const corsOptions = {
Expand Down

0 comments on commit 8c01458

Please sign in to comment.