diff --git a/server/app.js b/server/app.js index 585c7d9..f6442af 100644 --- a/server/app.js +++ b/server/app.js @@ -9,7 +9,7 @@ const { notFound, errorHandler } = require('./middlewares/errorMiddlewares') const userRoute = require('./routes/indexRoute.js') const adminRoute = require('./routes/adminRoute.js') -const ORIGIN = process.env.NODE_ENV === 'development' ? "http://localhost:4000" : 'https://thalia-c8g3.onrender.com' +const ORIGIN = process.env.NODE_ENV === 'development' ? "http://localhost:4000" : 'https://thalia.vercel.app' const corsConfig = { origin: ORIGIN, credentials: true,