removed hardcocded string from active monitoring js

fix #3581
This commit is contained in:
gabryon99 2020-04-29 13:05:14 +02:00
parent 494accc1b0
commit 051cf67dc5
2 changed files with 3 additions and 14 deletions

View file

@ -359,7 +359,7 @@ if(page == "overview") then
let get_host = "]].. (_GET["host"] ~= nil and _GET["host"] or "") ..[[";
let am_csrf = "]].. ntop.getRandomCSRFValue() ..[[";
let import_csrf = "]].. ntop.getRandomCSRFValue() ..[[";
let measurements_info = ]] .. json.encode(measurements_info) .. [[;
const measurements_info = ]] .. json.encode(measurements_info) .. [[;
</script>
<script type='text/javascript' src=']].. plugins_utils.getHttpdocsDir("active_monitoring") ..[[/active_monitoring_utils.js?]] ..(ntop.getStartupEpoch()) ..[['></script>