env files

This commit is contained in:
Dominic Villemure
2024-06-22 12:10:35 -04:00
parent b2cbc0814d
commit 60c23fb237
6 changed files with 12 additions and 9 deletions

View File

@@ -55,8 +55,7 @@ const isPaymentDialogActive = ref(false);
var checkout;
onMounted(async () => {
// I removed api key to push. Need to get it from backend.
stripe = await loadStripe('');
stripe = await loadStripe(import.meta.env.VITE_STRIPE_API_KEY);
})
const fetchClientSecret = async () => {