env files
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user