Skip to content

Commit

Permalink
fix: updated the env
Browse files Browse the repository at this point in the history
  • Loading branch information
RutvikGhaskataEalf committed Nov 13, 2024
1 parent aceac23 commit ff64a92
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VITE_FAUCET_BACKEND_URL = https://faucet.aelf.dev
VITE_GOOGLE_CAPTCA_SIKEY_KEY = 6LcovGQqAAAAAM7XGg4LijV20JucjYa1sum0oU_k
VITE_GOOGLE_CAPTCHA_SITEKEY = 6LcovGQqAAAAAM7XGg4LijV20JucjYa1sum0oU_k
2 changes: 1 addition & 1 deletion .env.staging
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VITE_FAUCET_BACKEND_URL = https://faucet-staging.aelf.dev
VITE_GOOGLE_CAPTCA_SIKEY_KEY = 6LcvLm8qAAAAALxj9s_i66fernALmlq0Q2cr0KoA
VITE_GOOGLE_CAPTCHA_SITEKEY = 6LcvLm8qAAAAALxj9s_i66fernALmlq0Q2cr0KoA
2 changes: 1 addition & 1 deletion src/components/app/faucet-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export function FaucetForm() {
<input type="hidden" name="captchaToken" value={captchaToken} />
<ReCAPTCHA
ref={recaptchaRef}
sitekey={import.meta.env.VITE_GOOGLE_CAPTCA_SIKEY_KEY} // Replace with your reCAPTCHA site key
sitekey={import.meta.env.VITE_GOOGLE_CAPTCHA_SITEKEY} // Replace with your reCAPTCHA site key
onChange={onReCAPTCHAChange}
className="mb-3"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/vite-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

interface ImportMetaEnv {
readonly VITE_FAUCET_BACKEND_URL: string;
readonly VITE_GOOGLE_CAPTCA_SIKEY_KEY: string;
readonly VITE_GOOGLE_CAPTCHA_SITEKEY: string;
// more env variables...
}

Expand Down

0 comments on commit ff64a92

Please sign in to comment.