Skip to content

Commit

Permalink
removed github button and added process.env.port back
Browse files Browse the repository at this point in the history
  • Loading branch information
victorchrollo14 committed Jan 22, 2024
1 parent c38089e commit 41db6a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/src/pages/authentication/RegisterPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ const RegisterPage = () => {
<Link to={"/login"}>Login</Link>
</span>
</div>
<GithubButton
{/* <GithubButton
name={"Register with Github"}
setError={setError}
setSuccess={setSuccess}
/>
/> */}
<GoogleButton>Register With Google</GoogleButton>
<div className="text-center text-2xl font-semibold my-6 flex">
{" "}
Expand Down
2 changes: 1 addition & 1 deletion server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 41db6a7

Please sign in to comment.