From 8314dc42dc21185f556b4bb257ce198378d30d71 Mon Sep 17 00:00:00 2001 From: Evgeny Sorokin Date: Wed, 3 Apr 2024 01:26:41 +0300 Subject: web_kbn: relative paths --- web/kbn_assets/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/kbn_assets/app.js') diff --git a/web/kbn_assets/app.js b/web/kbn_assets/app.js index 62e2575..0211479 100644 --- a/web/kbn_assets/app.js +++ b/web/kbn_assets/app.js @@ -238,7 +238,7 @@ class ModemStatusUpdater { } fetch() { - ajax.get('/modems/info.ajx', { + ajax.get('modems_info.ajx', { id: this.id }).then(({response}) => { const {html} = response; @@ -268,7 +268,7 @@ var Inverter = { }, _tick: function() { - ajax.get('/inverter.ajx') + ajax.get('inverter.ajx') .then(({response}) => { if (response) { var el = document.getElementById('inverter_status'); -- cgit v1.2.3