From ad83678eb3f735806f87ad9a43c32bdd6ffb92aa Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Wed, 17 Jul 2019 04:17:22 +0300 Subject: use strict --- web/share/js/ipmi/main.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'web/share/js/ipmi/main.js') diff --git a/web/share/js/ipmi/main.js b/web/share/js/ipmi/main.js index 7aa8b0cb..ff3032f5 100644 --- a/web/share/js/ipmi/main.js +++ b/web/share/js/ipmi/main.js @@ -20,12 +20,15 @@ *****************************************************************************/ +"use strict"; + + import {$} from "../tools.js"; export function main() { let host = window.location.hostname; - let site = window.location.protocol + "//" + window.location.host; + let site = `${window.location.protocol}//${window.location.host}`; $("ipmi-text").innerHTML = ` # Power on the server if it's off:
$
ipmitool -I lanplus -U admin -P admin -H ${host} power on
-- cgit v1.2.3