diff options
author | Evgeny Sorokin <me@ch1p.io> | 2024-04-03 01:26:41 +0300 |
---|---|---|
committer | Evgeny Sorokin <me@ch1p.io> | 2024-04-03 01:26:41 +0300 |
commit | 8314dc42dc21185f556b4bb257ce198378d30d71 (patch) | |
tree | ab11a973c920f99063f55a58ed2affc397fd8945 /web/kbn_assets/app.js | |
parent | 63ff5dd151ca6a21dbae8a654d81cf60f2f6f0cc (diff) |
web_kbn: relative paths
Diffstat (limited to 'web/kbn_assets/app.js')
-rw-r--r-- | web/kbn_assets/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
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'); |