Compare commits

..

No commits in common. "6e376b4f1307448f470fe03738be744340f900fe" and "8697d32d7b52785b1968c17f825f250395da05f6" have entirely different histories.

View File

@ -1,13 +1,4 @@
// markers.js
async function testGateway() {
try {
const res = await fetch("/api/places"); // Edge-Caddy proxyt zu data_gateway
const data = await res.json();
console.log("Antwort vom Gateway:", data);
} catch (err) {
console.error("Fehler:", err);
}
}
// Direkt beim Laden einmal ausführen:
testGateway();
fetch('/api/places')
.then(r => r.json())
.then(data => console.log('Gateway-Antwort:', data))
.catch(err => console.error('Fehler:', err));