Skip to content

Commit

Permalink
fix api url
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthGupta2510 committed Apr 24, 2024
1 parent 8cc1a37 commit deca61f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/certifgen/ViewCertificate.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const ViewCertificate = () => {
const getCertifData = async () => {
try {
const response = await axios.get(
// `https://adminbackend-3r4e.onrender.com/api/certifgen/generateCertif/${params.id}`
`http://localhost:5050/api/certifgen/generateCertif/${params.id}`
`https://adminbackend-3r4e.onrender.com/api/certifgen/generateCertif/${params.id}`
// `http://localhost:5050/api/certifgen/generateCertif/${params.id}`
);
// console.log(response.data);
setCertifState(200);
Expand Down

0 comments on commit deca61f

Please sign in to comment.