Skip to content

Commit

Permalink
bugs removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Avinash905 committed Aug 28, 2023
1 parent 15bf56a commit 2f30c0c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
PORT=5000
MONGO_URI=
JWT_SECRET=
5 changes: 5 additions & 0 deletions client/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
REACT_APP_SERVER_DOMAIN=http://locahost:5000/api
REACT_APP_CLOUDINARY_BASE_URL=
REACT_APP_CLOUDINARY_CLOUD_NAME=
REACT_APP_CLOUDINARY_PRESET=
REACT_FORMIK_SECRET=
2 changes: 1 addition & 1 deletion client/src/components/Contact.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Contact = () => {
<h2 className="form-heading">Contact Us</h2>
<form
method="POST"
action="https://formspree.io/f/xkneldwn"
action={`https://formspree.io/f/${process.env.REACT_FORMIK_SECRET}`}
className="register-form "
>
<input
Expand Down

0 comments on commit 2f30c0c

Please sign in to comment.