Refactor CSV data loading in 'vereinsmeisterschaften.vue' and 'cms/vereinsmeisterschaften.vue' to utilize API endpoints instead of static files, addressing cache issues. Update debugging logs to reflect new data source and improve response header logging for better traceability.

This commit is contained in:
Torsten Schulz (local)
2025-11-14 22:37:37 +01:00
parent 1c8ccbb92c
commit 125ca6d7ce
3 changed files with 47 additions and 6 deletions

View File

@@ -159,7 +159,8 @@ const selectedYear = ref('alle')
const loadResults = async () => {
try {
const response = await fetch('/data/vereinsmeisterschaften.csv')
// Verwende API-Endpoint statt statische Datei, um Cache-Probleme zu vermeiden
const response = await fetch('/api/vereinsmeisterschaften')
if (!response.ok) return
const csv = await response.text()