fixed bug with logistics

This commit is contained in:
GotthardG
2024-12-11 10:10:43 +01:00
parent 5488df4318
commit 9160339961
14 changed files with 4497 additions and 5 deletions

View File

@ -91,7 +91,8 @@ const LogisticsView: React.FC = () => {
// Reference to the audio element
const audioRef = useRef<HTMLAudioElement | null>(null);
OpenAPI.BASE = 'https://localhost:8000';
OpenAPI.BASE = import.meta.env.VITE_OPENAPI_BASE || 'https://127.0.0.1:8000';
console.log('OpenAPI Base URL:', OpenAPI.BASE);
const fetchDewarsAndSlots = async () => {
try {