From 41db6a76b2dbc0ae4bc429e51e4688517306bfbf Mon Sep 17 00:00:00 2001 From: victor Date: Mon, 22 Jan 2024 17:34:12 +0530 Subject: [PATCH] removed github button and added process.env.port back --- client/src/pages/authentication/RegisterPage.jsx | 4 ++-- server/index.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/pages/authentication/RegisterPage.jsx b/client/src/pages/authentication/RegisterPage.jsx index 6f9b16c..f672b59 100644 --- a/client/src/pages/authentication/RegisterPage.jsx +++ b/client/src/pages/authentication/RegisterPage.jsx @@ -29,11 +29,11 @@ const RegisterPage = () => { Login - + /> */} Register With Google
{" "} diff --git a/server/index.js b/server/index.js index 014089b..f2765bd 100644 --- a/server/index.js +++ b/server/index.js @@ -11,7 +11,7 @@ import { productRouter } from "./src/routes/productRoute.js"; import { cartRouter } from "./src/routes/cartRoute.js"; const app = express(); -const PORT = 3001; +const PORT = process.env.PORT || 3001; const corsOptions = { origin: corsUrls,