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

@ -4,6 +4,8 @@ import { useRouter } from 'vue-router';
import { SUPABASE_URL } from '@/supabase';
import axios from 'axios';
const API_URL = import.meta.env.VITE_API_URL || 'http://localhost:8000';
const router = useRouter();
const isLoading = ref(false);
const showMessage = ref({ text: '', type: '' });
@ -524,6 +526,15 @@ async function saveShuttle() {
background: #101820;
}
.shuttle-card-bg {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 0;
}
.shuttle-card-preview::before {
content: "";
position: absolute;