From 5a995719fd3c6d2a6d56eb03a2d22849c17e1f39 Mon Sep 17 00:00:00 2001 From: kamadi2000 Date: Tue, 31 Oct 2023 18:57:15 +0530 Subject: [PATCH] add frontend url --- backend/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/server.js b/backend/server.js index f73e233..1cf6838 100644 --- a/backend/server.js +++ b/backend/server.js @@ -18,7 +18,7 @@ const PORT = process.env.PORT || 5000; app.use( cors({ - origin: ["http://18.61.20.118:3000", "http://18.61.20.118:3001","*","http://18.61.20.118", "https://drivesmart-w549.onrender.com"], + origin: ["http://18.61.20.118:3000", "http://18.61.20.118:3001","*","http://18.61.20.118", "https://drivesmart-w549.onrender.com","http://drivesmart.tracktechlk.com"], methods: ["POST", "GET"], credentials: true, })