From 36abaec582376b3b03e3cd7039355a9d5d93b395 Mon Sep 17 00:00:00 2001 From: apsinghdev Date: Sun, 11 Aug 2024 09:19:34 +0530 Subject: [PATCH 1/2] change url --- client/src/socket.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/socket.js b/client/src/socket.js index de688d1..f4b3145 100644 --- a/client/src/socket.js +++ b/client/src/socket.js @@ -1,7 +1,6 @@ import { io } from "socket.io-client"; -const PORT = - "https://draw-rtc-96kr12q0u-ajeet-pratap-singhs-projects.vercel.app/"; +const PORT = "http://localhost:8000"; const socket = io(PORT); From eeeeff96c747135440a0c48dd22e2fc57204c5bc Mon Sep 17 00:00:00 2001 From: apsinghdev Date: Sun, 11 Aug 2024 09:21:34 +0530 Subject: [PATCH 2/2] Remove vercel from backend --- api/vercel.json | 1 - 1 file changed, 1 deletion(-) delete mode 100644 api/vercel.json diff --git a/api/vercel.json b/api/vercel.json deleted file mode 100644 index 515253d..0000000 --- a/api/vercel.json +++ /dev/null @@ -1 +0,0 @@ -{ "version": 2, "rewrites": [{ "source": "/(.*)", "destination": "/api" }] } \ No newline at end of file