mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Move of API folder from /app/front/api to app/api
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
// Function to update the displayed data and timestamp based on the selected format and index
|
||||
function updateData(format, index) {
|
||||
// Fetch data from the API endpoint
|
||||
fetch('api/table_notifications.json?nocache=' + Date.now())
|
||||
fetch(`/php/server/query_json.php?file=table_notifications.json&nocache=${Date.now()}`)
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
if (index < 0) {
|
||||
|
||||
Reference in New Issue
Block a user