fix: API_URL not defined in shuttle/admin views + fix shuttle card image display

This commit is contained in:
2026-02-26 11:46:37 -05:00
parent 86726e3dfc
commit ba7631dc9c
6 changed files with 19 additions and 41 deletions

View File

@ -6,6 +6,8 @@ import { SUPABASE_URL } from '@/supabase'
import type { Coupon } from '@/types'
import FavoriteButton from '@/components/FavoriteButton.vue'
const API_URL = import.meta.env.VITE_API_URL || 'http://localhost:8000';
const { t } = useI18n()
const couponStore = useCouponStore()