This commit is contained in:
jokob-sk
2025-08-20 08:11:05 +10:00

View File

@@ -86,7 +86,7 @@
// Function to update the displayed data and timestamp based on the selected format and index // Function to update the displayed data and timestamp based on the selected format and index
function updateData(format, index) { function updateData(format, index) {
// Fetch data from the API endpoint // Fetch data from the API endpoint
fetch(`/php/server/query_json.php?file=table_notifications.json&nocache=${Date.now()}`) fetch(`php/server/query_json.php?file=table_notifications.json&nocache=${Date.now()}`)
.then(response => response.json()) .then(response => response.json())
.then(data => { .then(data => {
if (index < 0) { if (index < 0) {