From 295db871138336320537bbf75529269d27358876 Mon Sep 17 00:00:00 2001 From: Carlos V <76731844+cvc90@users.noreply.github.com> Date: Sun, 10 Sep 2023 20:04:32 +0200 Subject: [PATCH] Update pialert_common.js Fix url in initDeviceListAll_JSON() function --- front/js/pialert_common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/js/pialert_common.js b/front/js/pialert_common.js index c8fa31d0..e6a4181c 100755 --- a/front/js/pialert_common.js +++ b/front/js/pialert_common.js @@ -518,7 +518,7 @@ function getDeviceDataByMacAddress(macAddress, dbColumn) { function initDeviceListAll_JSON() { - $.get('/api/table_devices.json', function(data) { + $.get('api/table_devices.json', function(data) { console.log(data)