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

@ -8,6 +8,8 @@ import { useAuthStore } from '@/stores/auth'
import { SUPABASE_URL } from '@/supabase'
import type { Coupon, Business, Shuttle } from '@/types'
const API_URL = import.meta.env.VITE_API_URL || 'http://localhost:8000';
const route = useRoute()
const authStore = useAuthStore()