Skip to content

Commit d970d14

Browse files
committed
url to env
1 parent 391ba52 commit d970d14

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/grant-explorer/src/features/contributors/components/Buttons/MintingActionButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function MintingActionButton({
6262
const { attestationChainId: chainId, attestationUid = "" } =
6363
attestation ?? {};
6464

65-
const attestationLink = `https://gitcoin-server-api-git-card-update-grants-stack.vercel.app/attestation/${attestationUid}`;
65+
const attestationLink = `${process.env.REACT_APP_ATTESTATION_SERVER}/attestation/${attestationUid}`;
6666

6767
return isMinted ? (
6868
<>

packages/grant-explorer/src/hooks/attestations/useEASAttestation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const useEASAttestation = (
5555
}
5656
updateStatus(ProgressStatus.IN_PROGRESS);
5757
const attestationUID = await attest.mutateAsync(data);
58-
const attestationLink = `https://gitcoin-server-api-git-card-update-grants-stack.vercel.app/attestation/${attestationUID}`;
58+
const attestationLink = `${process.env.REACT_APP_ATTESTATION_SERVER}/attestation/${attestationUID}`;
5959
updateStatus(ProgressStatus.IS_SUCCESS);
6060
return attestationLink;
6161
} catch (error) {

packages/grant-explorer/src/hooks/attestations/useGetAttestationData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const useGetAttestationData = (
3030

3131
try {
3232
const response = await fetch(
33-
`https://gitcoin-server-api-git-card-update-grants-stack.vercel.app/api/getAttestation`,
33+
`${process.env.REACT_APP_ATTESTATION_SERVER}/api/getAttestation`,
3434
{
3535
method: "POST",
3636
headers: {

0 commit comments

Comments
 (0)