Enhance frontend components by importing API_BASE_URL for consistent API endpoint usage. This update improves code maintainability and prepares the components for future API integrations.

This commit is contained in:
Torsten Schulz (local)
2025-11-13 15:18:28 +01:00
parent e71988e0b7
commit 6cc8903e06
4 changed files with 12 additions and 0 deletions

View File

@@ -76,7 +76,9 @@
<script setup>
import { ref, onMounted } from 'vue'
import { useAuthStore } from '../stores/authStore'
import { API_BASE_URL } from '@/config/api'
const API_URL = API_BASE_URL
const authStore = useAuthStore()
const now = new Date()
const selectedMonth = ref(now.getMonth() + 1)