fix: API_URL not defined in shuttle/admin views + fix shuttle card image display
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user