Skip to content

Commit

Permalink
fix url api
Browse files Browse the repository at this point in the history
  • Loading branch information
rahmathidayatullah committed Jun 10, 2024
1 parent 04fa029 commit 9ee94a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
REACT_APP_API_URL=https://i-mader.tech
NEXT_PUBLIC_API_URL=https://i-mader.tech
NEXT_PUBLIC_MEASUREMENT_ID=G-3FNP2LS55J
2 changes: 1 addition & 1 deletion src/components/wrapper/layout-home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ const LayoutHome = ({ children }: LayoutHome) => {
try {
setLoading(true);
const { data } = await axios.post(
`${process.env.REACT_APP_API_URL}/api/v1/contact-us/add`,
`${process.env.NEXT_PUBLIC_API_URL}/api/v1/contact-us/add`,
values
);
form.resetFields();
Expand Down

0 comments on commit 9ee94a4

Please sign in to comment.